From 44c540625216b7f9754f7e9461bbd5d026a1e9cf Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Mon, 13 Jun 2011 17:15:37 +0400 Subject: [PATCH] s4-upgradeprovision: don't print dn in the list of modified attributes --- source4/scripting/bin/upgradeprovision | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index 85f21678d61..b197c6cb840 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -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 -- 2.11.4.GIT