]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
netcmd: Ignore rIDUsedPool attribute in offline domain backup test
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 26 May 2021 01:40:30 +0000 (13:40 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 11 Jun 2021 07:41:38 +0000 (07:41 +0000)
The RID Set of the newly created DC account has all its values
initialised to zero. If the rIDUsedPool attribute was previously
non-zero, then the restore process will cause its value to change.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14669

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/domain_backup_offline.py

index 4ba1249e81b300f669b4106258254fba9195f5bb..4d51d7a0e2b4133780101f9e14a6e074e852e775 100644 (file)
@@ -116,7 +116,7 @@ class DomainBackupOfflineCmp(BlackboxTestCase):
 
         # attrs that are altered by the restore process
         ignore_attrs = ["servicePrincipalName", "lastLogonTimestamp",
-                        "rIDAllocationPool", "rIDAvailablePool",
+                        "rIDAllocationPool", "rIDAvailablePool", "rIDUsedPool",
                         "localPolicyFlags", "operatingSystem", "displayName",
                         "dnsRecord", "dNSTombstoned",
                         "msDS-NC-Replica-Locations", "msDS-HasInstantiatedNCs",