summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-06-25 12:47:34 +0200
committerStefan Metzmacher <metze@samba.org>2010-06-26 09:50:55 +0200
commit7905901bc018ec91c69368dedd906c1cf89103f3 (patch)
tree4b19493d29513d709c5a06d08225fa64a82c377b /source4
parent712a149802e9613f105861e838a29bb226e62e02 (diff)
downloadsamba-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')
-rw-r--r--source4/dsdb/samdb/ldb_modules/ridalloc.c7
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",