s4-upgradeprovision: don't print dn in the list of modified attributes
[metze/samba/wip.git] / source4 / scripting / bin / upgradeprovision
index 85f21678d61e3ae5e765c437a55cdb902b2ab32f..b197c6cb840b2881a4005150507f98bfb030b3e6 100755 (executable)
@@ -1054,7 +1054,8 @@ def update_present(ref_samdb, samdb, basedn, listPresent, usns):
 
         delta.dn = dn
         if len(delta.items()) >1:
-            attributes=", ".join(delta.keys())
+            # Skip dn as the value is not really changed ...
+            attributes=", ".join(delta.keys()[1:])
             modcontrols = []
             relaxedatt = ['iscriticalsystemobject', 'grouptype']
             # Let's try to reduce as much as possible the use of relax control