From bbed1fdfcdcc0d270bb861bf06b509a1655a13a2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Jul 2010 12:34:15 +0200 Subject: s4:dsdb:ridalloc: use dsdb_module_constrainted_update_uint64() to update rIDAvailablePool metze --- source4/dsdb/samdb/ldb_modules/ridalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb/samdb') 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)); -- cgit