summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:20:25 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:28 +0200
commit9275d571d9d0bb4b7927245256aa4510b9e7c43d (patch)
treecba4b0e035c65cf1215306907c077a389e8b94a8 /source3
parent37ad03f91d28c39533ece09384a12e63603c3e8a (diff)
downloadsamba-9275d571d9d0bb4b7927245256aa4510b9e7c43d.tar.gz
samba-9275d571d9d0bb4b7927245256aa4510b9e7c43d.tar.bz2
samba-9275d571d9d0bb4b7927245256aa4510b9e7c43d.zip
dbwrap: dbwrap_trans_change_uint32_atomic->dbwrap_trans_change_uint32_atomic_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_tdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index e77ab8f1a7..8b923d6cd8 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -1118,8 +1118,8 @@ static bool tdbsam_new_rid(struct pdb_methods *methods, uint32 *prid)
return false;
}
- status = dbwrap_trans_change_uint32_atomic(db_sam, NEXT_RID_STRING,
- &rid, 1);
+ status = dbwrap_trans_change_uint32_atomic_bystring(
+ db_sam, NEXT_RID_STRING, &rid, 1);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(3, ("tdbsam_new_rid: Failed to increase %s: %s\n",
NEXT_RID_STRING, nt_errstr(status)));