summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-06-18 17:07:57 +1000
committerMichael Adam <obnox@samba.org>2012-06-18 11:44:50 +0200
commitbb96139846c58b14057a0d5175afc30a16631e5e (patch)
treea046649982be39a0b94d68a68914d5971cda1e79 /source3
parentad3881b78c158eda36b866dc2cbaff1b4bc487d8 (diff)
downloadsamba-bb96139846c58b14057a0d5175afc30a16631e5e.tar.gz
samba-bb96139846c58b14057a0d5175afc30a16631e5e.tar.bz2
samba-bb96139846c58b14057a0d5175afc30a16631e5e.zip
dbwrap: Rename dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_tdb2.c4
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);