summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-06-13 17:15:37 +0400
committerMatthieu Patou <mat@samba.org>2011-06-19 23:21:08 +0200
commit44c540625216b7f9754f7e9461bbd5d026a1e9cf (patch)
tree1b8c6c4d7ab12235dd5bf825d6081ec550e4ce9d /source4
parent9a18e07b4f186751cb25dfc0f947e6e5ca8f2fee (diff)
downloadsamba-44c540625216b7f9754f7e9461bbd5d026a1e9cf.tar.gz
samba-44c540625216b7f9754f7e9461bbd5d026a1e9cf.tar.bz2
samba-44c540625216b7f9754f7e9461bbd5d026a1e9cf.zip
s4-upgradeprovision: don't print dn in the list of modified attributes
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index 85f21678d6..b197c6cb84 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