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)
committerKarolin Seeger <kseeger@samba.org>
Tue, 13 Jul 2021 12:31:15 +0000 (12:31 +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>
(cherry picked from commit 658e5a6cc20b57f48477affd370fe25458178b92)

python/samba/tests/domain_backup_offline.py

index 16d3e7c36f42cd45d5c252c466c5c1e9e0d2fc89..83cd6cfa57f88436c0ced7bc1ff2f223a472fcd6 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",