summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-14 20:30:16 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:27 +0200
commit749314fcf99cef4a1a162d622e10b6eb8998938f (patch)
treeedb8bf82c76fb96ee4a125f147e33273641416fd /source3/utils
parent737c0a54731803c84f0f29d96dd40ac819aec3e8 (diff)
downloadsamba-749314fcf99cef4a1a162d622e10b6eb8998938f.tar.gz
samba-749314fcf99cef4a1a162d622e10b6eb8998938f.tar.bz2
samba-749314fcf99cef4a1a162d622e10b6eb8998938f.zip
dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_idmap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 22734eecd8..28f9ed938e 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -285,7 +285,8 @@ static int net_idmap_restore(struct net_context *c, int argc, const char **argv)
break;
}
} else if (sscanf(line, "USER HWM %lu", &idval) == 1) {
- status = dbwrap_store_int32(db, "USER HWM", idval);
+ status = dbwrap_store_int32_bystring(
+ db, "USER HWM", idval);
if (!NT_STATUS_IS_OK(status)) {
d_fprintf(stderr,
_("Could not store USER HWM: %s\n"),
@@ -293,7 +294,8 @@ static int net_idmap_restore(struct net_context *c, int argc, const char **argv)
break;
}
} else if (sscanf(line, "GROUP HWM %lu", &idval) == 1) {
- status = dbwrap_store_int32(db, "GROUP HWM", idval);
+ status = dbwrap_store_int32_bystring(
+ db, "GROUP HWM", idval);
if (!NT_STATUS_IS_OK(status)) {
d_fprintf(stderr,
_("Could not store GROUP HWM: %s\n"),