summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:51:21 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 14:19:57 +0200
commit1d9ff7d3bc111f83f8ae45277c0507c4306c0c01 (patch)
tree1c89b6b1262413f473f6d11956a3cd56173e2003 /source3
parent64fec465c15fea77313643636d82d2c14115f434 (diff)
downloadsamba-1d9ff7d3bc111f83f8ae45277c0507c4306c0c01.tar.gz
samba-1d9ff7d3bc111f83f8ae45277c0507c4306c0c01.tar.bz2
samba-1d9ff7d3bc111f83f8ae45277c0507c4306c0c01.zip
dbwrap: dbwrap_trans_store_uint32->dbwrap_trans_store_uint32_bystring
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 15 14:20:04 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/account_pol.c2
-rw-r--r--source3/utils/dbwrap_tool.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c
index fa2252f1a7..c94df2961a 100644
--- a/source3/passdb/account_pol.c
+++ b/source3/passdb/account_pol.c
@@ -375,7 +375,7 @@ bool account_policy_set(enum pdb_policy_type type, uint32_t value)
return False;
}
- status = dbwrap_trans_store_uint32(db, name, value);
+ status = dbwrap_trans_store_uint32_bystring(db, name, value);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("store_uint32 failed for type %d (%s) on value "
"%u: %s\n", type, name, value, nt_errstr(status)));
diff --git a/source3/utils/dbwrap_tool.c b/source3/utils/dbwrap_tool.c
index 72e70690bf..eb28902f55 100644
--- a/source3/utils/dbwrap_tool.c
+++ b/source3/utils/dbwrap_tool.c
@@ -154,7 +154,7 @@ static int dbwrap_tool_store_uint32(struct db_context *db,
NTSTATUS status;
uint32_t value = (uint32_t)strtol(data, NULL, 10);
- status = dbwrap_trans_store_uint32(db, keyname, value);
+ status = dbwrap_trans_store_uint32_bystring(db, keyname, value);
if (!NT_STATUS_IS_OK(status)) {
d_fprintf(stderr,