s3:idmap_tdb: fix miss in rename of dbwrap_trans_store_uint32() to dbwrap_trans_store...
authorMichael Adam <obnox@samba.org>
Mon, 18 Jun 2012 08:27:54 +0000 (10:27 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 18 Jun 2012 09:44:50 +0000 (11:44 +0200)
source3/winbindd/idmap_tdb2.c

index 3e1fb7ab8498f518671cb98921215e7dfb653c65..4a9c2feb8f3267d014bca6c9983b6564fc843d47 100644 (file)
@@ -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)));