From: Joseph Sutton Date: Wed, 26 May 2021 01:40:30 +0000 (+1200) Subject: netcmd: Ignore rIDUsedPool attribute in offline domain backup test X-Git-Tag: tevent-0.11.0~417 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=658e5a6cc20b57f48477affd370fe25458178b92;p=thirdparty%2Fsamba.git netcmd: Ignore rIDUsedPool attribute in offline domain backup test 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 Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/tests/domain_backup_offline.py b/python/samba/tests/domain_backup_offline.py index 4ba1249e81b..4d51d7a0e2b 100644 --- a/python/samba/tests/domain_backup_offline.py +++ b/python/samba/tests/domain_backup_offline.py @@ -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",