git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad17333
)
s4:dsdb:ridalloc: use dsdb_module_constrainted_update_uint64() to update rIDAvailablePool
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Jul 2010 10:34:15 +0000
(12:34 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 9 Jul 2010 07:27:13 +0000
(09:27 +0200)
metze
source4/dsdb/samdb/ldb_modules/ridalloc.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/ridalloc.c
b/source4/dsdb/samdb/ldb_modules/ridalloc.c
index 1b56512f967ccb1fc5cdc8aca79a8f042726d998..d81717259b8fb72b8da6ddde925a50d34b733e7a 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/ridalloc.c
+++ b/
source4/dsdb/samdb/ldb_modules/ridalloc.c
@@
-139,8
+139,8
@@
static int ridalloc_rid_manager_allocate(struct ldb_module *module, struct ldb_d
/* and new rIDAvailablePool value */
new_rid_pool = rid_pool_lo | (((uint64_t)rid_pool_hi)<<32);
- ret = dsdb_module_constrainted_update_
integer
(module, rid_manager_dn, "rIDAvailablePool",
-
rid_pool,
new_rid_pool);
+ ret = dsdb_module_constrainted_update_
uint64
(module, rid_manager_dn, "rIDAvailablePool",
+
&rid_pool, &
new_rid_pool);
if (ret != LDB_SUCCESS) {
ldb_asprintf_errstring(ldb, "Failed to update rIDAvailablePool - %s",
ldb_errstring(ldb));