summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:18:17 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:28 +0200
commit37ad03f91d28c39533ece09384a12e63603c3e8a (patch)
tree8136473a27b1e68c9c6a2a83d8173e484ec27843 /source3/winbindd
parent8f94ecbb90f3efedc3e379853dd71369d53cb1f7 (diff)
downloadsamba-37ad03f91d28c39533ece09384a12e63603c3e8a.tar.gz
samba-37ad03f91d28c39533ece09384a12e63603c3e8a.tar.bz2
samba-37ad03f91d28c39533ece09384a12e63603c3e8a.zip
dbwrap: dbwrap_change_uint32_atomic->dbwrap_change_uint32_atomic_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_autorid.c2
-rw-r--r--source3/winbindd/idmap_tdb_common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c
index a890914a47..26811a863c 100644
--- a/source3/winbindd/idmap_autorid.c
+++ b/source3/winbindd/idmap_autorid.c
@@ -94,7 +94,7 @@ static NTSTATUS idmap_autorid_get_domainrange_action(struct db_context *db,
}
/* increase the HWM */
- ret = dbwrap_change_uint32_atomic(db, HWM, &domainnum, 1);
+ ret = dbwrap_change_uint32_atomic_bystring(db, HWM, &domainnum, 1);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(1, ("Fatal error while fetching a new "
"domain range value!\n"));
diff --git a/source3/winbindd/idmap_tdb_common.c b/source3/winbindd/idmap_tdb_common.c
index 1c2e3467b2..669caf520a 100644
--- a/source3/winbindd/idmap_tdb_common.c
+++ b/source3/winbindd/idmap_tdb_common.c
@@ -71,7 +71,7 @@ static NTSTATUS idmap_tdb_common_allocate_id_action(struct db_context *db,
}
/* fetch a new id and increment it */
- ret = dbwrap_change_uint32_atomic(db, state->hwmkey, &hwm, 1);
+ ret = dbwrap_change_uint32_atomic_bystring(db, state->hwmkey, &hwm, 1);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(1, ("Fatal error while fetching a new %s value\n!",
state->hwmtype));