summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-03-20 12:40:31 +0100
committerJeremy Allison <jra@samba.org>2014-04-03 00:26:27 +0200
commit70cfe221b05a79f890c0e1758c265335f08bb3e6 (patch)
tree9a928400295c360bb9871e28d39d32ace6474143 /source3
parentc3719a6feef87dabfaf698cac89513b421fe1952 (diff)
downloadsamba-70cfe221b05a79f890c0e1758c265335f08bb3e6.tar.gz
autorid: store hwm as uint32_t in idmap_autorid_init_hwm()
The HWM is treated as uint32_t all the times. This was just a leftover from old code. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_autorid_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_autorid_tdb.c b/source3/winbindd/idmap_autorid_tdb.c
index dd997671c95..190999eb796 100644
--- a/source3/winbindd/idmap_autorid_tdb.c
+++ b/source3/winbindd/idmap_autorid_tdb.c
@@ -396,7 +396,7 @@ NTSTATUS idmap_autorid_init_hwm(struct db_context *db, const char *hwm)
status = dbwrap_fetch_uint32_bystring(db, hwm, &hwmval);
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND)) {
- status = dbwrap_trans_store_int32_bystring(db, hwm, 0);
+ status = dbwrap_trans_store_uint32_bystring(db, hwm, 0);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,
("Unable to initialise HWM (%s) in autorid "