From fafc6da6ab6c30a5976163957836e42bdffad268 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Mon, 18 Dec 2017 12:45:02 +1300 Subject: [PATCH] ldapcmp: Improve the difference checker of ldapcmp for 2012 R2 There are a number of new attributes which may be considered DNs. Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett Autobuild-User(master): Garming Sam Autobuild-Date(master): Thu Dec 21 03:41:19 CET 2017 on sn-devel-144 --- python/samba/netcmd/ldapcmp.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python/samba/netcmd/ldapcmp.py b/python/samba/netcmd/ldapcmp.py index 0b81189f38df..7b8d93e07fa2 100644 --- a/python/samba/netcmd/ldapcmp.py +++ b/python/samba/netcmd/ldapcmp.py @@ -478,7 +478,14 @@ class LDAPObject(object): "msExchHomeRoutingGroup", "msExchResponsibleMTAServer", "siteFolderServer", "msExchRoutingMasterDN", "msExchRoutingGroupMembersBL", "homeMDBBL", "msExchHomePublicMDB", "msExchOwningServer", "templateRoots", "addressBookRoots", "msExchPolicyRoots", "globalAddressList", "msExchOwningPFTree", - "msExchResponsibleMTAServerBL", "msExchOwningPFTreeBL",] + "msExchResponsibleMTAServerBL", "msExchOwningPFTreeBL", + # After 2012 R2 functional preparation + "msDS-MembersOfResourcePropertyListBL", + "msDS-ValueTypeReference", + "msDS-MembersOfResourcePropertyList", + "msDS-ValueTypeReferenceBL", + "msDS-ClaimTypeAppliesToClass", + ] self.dn_attributes = [x.upper() for x in self.dn_attributes] # # Attributes that contain the Domain name e.g. 'samba.org' -- 2.34.1