summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_tdb.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-14 20:39:27 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:28 +0200
commit7f19a5ab52ac6ecb380a49ec14072d0fd501f9db (patch)
treee3edb77fbe10165e9b5f0b9fc0876085a1342982 /source3/winbindd/idmap_tdb.c
parent749314fcf99cef4a1a162d622e10b6eb8998938f (diff)
downloadsamba-7f19a5ab52ac6ecb380a49ec14072d0fd501f9db.tar.gz
samba-7f19a5ab52ac6ecb380a49ec14072d0fd501f9db.tar.bz2
samba-7f19a5ab52ac6ecb380a49ec14072d0fd501f9db.zip
dbwrap: dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/winbindd/idmap_tdb.c')
-rw-r--r--source3/winbindd/idmap_tdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index 3e46cf76b7..4c3b4b190a 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -258,12 +258,12 @@ static NTSTATUS idmap_tdb_init_hwm(struct idmap_domain *dom)
ctx = talloc_get_type(dom->private_data,
struct idmap_tdb_common_context);
- status = dbwrap_fetch_uint32(ctx->db, HWM_USER, &low_uid);
+ status = dbwrap_fetch_uint32_bystring(ctx->db, HWM_USER, &low_uid);
if (!NT_STATUS_IS_OK(status) || low_uid < dom->low_id) {
update_uid = true;
}
- status = dbwrap_fetch_uint32(ctx->db, HWM_GROUP, &low_gid);
+ status = dbwrap_fetch_uint32_bystring(ctx->db, HWM_GROUP, &low_gid);
if (!NT_STATUS_IS_OK(status) || low_gid < dom->low_id) {
update_gid = true;
}