diff options
-rw-r--r-- | source3/winbindd/idmap_tdb2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c index bd535c0141..3e1fb7ab84 100644 --- a/source3/winbindd/idmap_tdb2.c +++ b/source3/winbindd/idmap_tdb2.c @@ -67,7 +67,7 @@ static NTSTATUS idmap_tdb2_init_hwm(struct idmap_domain *dom) /* Create high water marks for group and user id */ - status = dbwrap_fetch_uint32(ctx->db, HWM_USER, &low_id); + 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); @@ -78,7 +78,7 @@ static NTSTATUS idmap_tdb2_init_hwm(struct idmap_domain *dom) } } - status = dbwrap_fetch_uint32(ctx->db, HWM_GROUP, &low_id); + 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); |