git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a18e07
)
s4-upgradeprovision: don't print dn in the list of modified attributes
author
Matthieu Patou
<mat@matws.net>
Mon, 13 Jun 2011 13:15:37 +0000
(17:15 +0400)
committer
Matthieu Patou
<mat@samba.org>
Sun, 19 Jun 2011 21:21:08 +0000
(23:21 +0200)
source4/scripting/bin/upgradeprovision
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/upgradeprovision
b/source4/scripting/bin/upgradeprovision
index 85f21678d61e3ae5e765c437a55cdb902b2ab32f..b197c6cb840b2881a4005150507f98bfb030b3e6 100755
(executable)
--- 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