diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-07-08 12:34:15 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-07-09 09:27:13 +0200 |
commit | bbed1fdfcdcc0d270bb861bf06b509a1655a13a2 (patch) | |
tree | f7c1bcde1ac0d68eeb43cf49f1ddece5f89ef5af /source4 | |
parent | ad173331148a9fdd793cc5fa4776bdfd53bb4727 (diff) | |
download | samba-bbed1fdfcdcc0d270bb861bf06b509a1655a13a2.tar.gz samba-bbed1fdfcdcc0d270bb861bf06b509a1655a13a2.tar.bz2 samba-bbed1fdfcdcc0d270bb861bf06b509a1655a13a2.zip |
s4:dsdb:ridalloc: use dsdb_module_constrainted_update_uint64() to update rIDAvailablePool
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/ridalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/ridalloc.c b/source4/dsdb/samdb/ldb_modules/ridalloc.c index 1b56512f96..d81717259b 100644 --- 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)); |