s4:dsdb/ridalloc: add comment about windows behavior regarding rIDUsedPool
authorStefan Metzmacher <metze@samba.org>
Fri, 25 Jun 2010 10:47:34 +0000 (12:47 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 26 Jun 2010 07:50:55 +0000 (09:50 +0200)
metze

source4/dsdb/samdb/ldb_modules/ridalloc.c

index e54d6b4954374be68b496db5c75951579f743638..6fc04fd3ff7f503aba8fd500e08bc82ec1a6bca2 100644 (file)
@@ -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",