summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_tdb2.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-18 10:27:54 +0200
committerMichael Adam <obnox@samba.org>2012-06-18 11:44:50 +0200
commit39b4733073635198cfbb29696fede9a2d4d09873 (patch)
treef78ca2a0f37163e7252eaf693b1301ead4137129 /source3/winbindd/idmap_tdb2.c
parentbb96139846c58b14057a0d5175afc30a16631e5e (diff)
downloadsamba-39b4733073635198cfbb29696fede9a2d4d09873.tar.gz
samba-39b4733073635198cfbb29696fede9a2d4d09873.tar.bz2
samba-39b4733073635198cfbb29696fede9a2d4d09873.zip
s3:idmap_tdb: fix miss in rename of dbwrap_trans_store_uint32() to dbwrap_trans_store_uint32_bystring()
Diffstat (limited to 'source3/winbindd/idmap_tdb2.c')
-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)));