From: Stefan Metzmacher Date: Mon, 8 Aug 2016 10:53:26 +0000 (+0200) Subject: samba-tool/ldapcmp: ignore differences of whenChanged X-Git-Tag: samba-4.3.12~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfbc2bcdf94c4ab21a085baee5924fda5a850039;p=thirdparty%2Fsamba.git samba-tool/ldapcmp: ignore differences of whenChanged This is implicitly replicated, but may diverge on updates of non-replicated attributes. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12129 Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Mon Aug 8 17:34:24 CEST 2016 on sn-devel-144 (cherry picked from commit a0e60e96aa38407ded8d63650dcf8f39304c958a) --- diff --git a/python/samba/netcmd/ldapcmp.py b/python/samba/netcmd/ldapcmp.py index 96b94f2c16a..cb02de2bd27 100644 --- a/python/samba/netcmd/ldapcmp.py +++ b/python/samba/netcmd/ldapcmp.py @@ -438,7 +438,7 @@ class LDAPObject(object): "uSNChanged", "uSNCreated", "uSNLastObjRem", - # "whenChanged", # This is implicitly replicated + "whenChanged", # This is implicitly replicated, but may diverge on updates of non-replicated attributes ] self.ignore_attributes = self.non_replicated_attributes self.ignore_attributes += ["msExchServer1HighestUSN"]