s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm.
authorMichael Adam <obnox@samba.org>
Wed, 29 Jul 2009 12:56:32 +0000 (14:56 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 10 Mar 2010 12:21:59 +0000 (13:21 +0100)
commitca73095fa697744c3cdfa68e17f4f4c6b847bcf5
tree3061e8b58d3f710840af51b6a248c9b6b9a58437
parent9b381b74ad0f9fcda6ab2497a9ac52f0e6e9d951
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