summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/idmap_tdb2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c
index 3e1fb7ab84..4a9c2feb8f 100644
--- a/source3/winbindd/idmap_tdb2.c
+++ b/source3/winbindd/idmap_tdb2.c
@@ -69,8 +69,8 @@ static NTSTATUS idmap_tdb2_init_hwm(struct idmap_domain *dom)
status = dbwrap_fetch_uint32_bystring(ctx->db, HWM_USER, &low_id);
if (!NT_STATUS_IS_OK(status) || (low_id < dom->low_id)) {
- status = dbwrap_trans_store_uint32(ctx->db, HWM_USER,
- dom->low_id);
+ status = dbwrap_trans_store_uint32_bystring(ctx->db, HWM_USER,
+ dom->low_id);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Unable to initialise user hwm in idmap "
"database: %s\n", nt_errstr(status)));
@@ -80,8 +80,8 @@ static NTSTATUS idmap_tdb2_init_hwm(struct idmap_domain *dom)
status = dbwrap_fetch_uint32_bystring(ctx->db, HWM_GROUP, &low_id);
if (!NT_STATUS_IS_OK(status) || (low_id < dom->low_id)) {
- status = dbwrap_trans_store_uint32(ctx->db, HWM_GROUP,
- dom->low_id);
+ status = dbwrap_trans_store_uint32_bystring(ctx->db, HWM_GROUP,
+ dom->low_id);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Unable to initialise group hwm in idmap "
"database: %s\n", nt_errstr(status)));