s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm.
commit3acef0993501468f3ef807e76b56aa296f8a87d0
authorMichael Adam <obnox@samba.org>
Wed, 29 Jul 2009 12:56:32 +0000 (29 14:56 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 29 Jul 2009 14:26:27 +0000 (29 16:26 +0200)
tree9c329df406539eafc16ee2d0252f28c6fe00ef09
parente46e5d7d0871e203ea8c4bb92a7b27e6cafce77d
s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm.

Btw, the previous code must have failed to warn when exceeding the high_hwm,
because it overwrote hwm with the return value of the dbwrap_store_uint32(),
which does not return the hwm but 0 or -1, depending on success.

Michael
source3/winbindd/idmap_tdb.c