diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-06-25 12:47:34 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-06-26 09:50:55 +0200 |
commit | 7905901bc018ec91c69368dedd906c1cf89103f3 (patch) | |
tree | 4b19493d29513d709c5a06d08225fa64a82c377b /source4/dsdb | |
parent | 712a149802e9613f105861e838a29bb226e62e02 (diff) | |
download | samba-7905901bc018ec91c69368dedd906c1cf89103f3.tar.gz samba-7905901bc018ec91c69368dedd906c1cf89103f3.tar.bz2 samba-7905901bc018ec91c69368dedd906c1cf89103f3.zip |
s4:dsdb/ridalloc: add comment about windows behavior regarding rIDUsedPool
metze
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/ridalloc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/ridalloc.c b/source4/dsdb/samdb/ldb_modules/ridalloc.c index e54d6b4954..6fc04fd3ff 100644 --- a/source4/dsdb/samdb/ldb_modules/ridalloc.c +++ b/source4/dsdb/samdb/ldb_modules/ridalloc.c @@ -491,7 +491,12 @@ int ridalloc_allocate_rid(struct ldb_module *module, uint32_t *rid) prev_alloc_pool_lo = prev_alloc_pool & 0xFFFFFFFF; prev_alloc_pool_hi = prev_alloc_pool >> 32; - /* update the rIDUsedPool attribute */ + /* + * update the rIDUsedPool attribute + * + * Note: w2k8r2 doesn't update this attribute, + * at least if it's itself the rid master. + */ ret = dsdb_module_set_integer(module, rid_set_dn, "rIDUsedPool", rid_used_pool+1); if (ret != LDB_SUCCESS) { ldb_asprintf_errstring(ldb, __location__ ": Failed to update rIDUsedPool on %s - %s", |