summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:09:57 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:28 +0200
commit8f94ecbb90f3efedc3e379853dd71369d53cb1f7 (patch)
treea93065c80f61e7557a4044b56691ad16213e7a61 /source3/passdb
parent7f19a5ab52ac6ecb380a49ec14072d0fd501f9db (diff)
downloadsamba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.tar.gz
samba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.tar.bz2
samba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.zip
dbwrap: dbwrap_store_uint32->dbwrap_store_uint32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/account_pol.c3
-rw-r--r--source3/passdb/pdb_tdb.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c
index 9c6f40107a..fa2252f1a7 100644
--- a/source3/passdb/account_pol.c
+++ b/source3/passdb/account_pol.c
@@ -266,7 +266,8 @@ bool init_account_policy(void)
}
if (version != DATABASE_VERSION) {
- status = dbwrap_store_uint32(db, vstring, DATABASE_VERSION);
+ status = dbwrap_store_uint32_bystring(db, vstring,
+ DATABASE_VERSION);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("dbwrap_store_uint32 failed: %s\n",
nt_errstr(status)));
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 43e561bd93..e77ab8f1a7 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -347,7 +347,7 @@ static bool tdbsam_upgrade_next_rid(struct db_context *db)
rid = BASE_RID;
}
- status = dbwrap_store_uint32(db, NEXT_RID_STRING, rid);
+ status = dbwrap_store_uint32_bystring(db, NEXT_RID_STRING, rid);
if (!NT_STATUS_IS_OK(status)) {
return false;
}