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:
d49a0e5
)
show attribute values in sorted order to make comparison easier
author
Andrew Tridgell
<tridge@samba.org>
Thu, 2 Jul 2009 06:19:37 +0000
(16:19 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 2 Jul 2009 13:18:41 +0000
(23:18 +1000)
source4/scripting/bin/fullschema
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/fullschema
b/source4/scripting/bin/fullschema
index 41c45f30c8c07a780b5d37483ff99e992070dbd9..4c73100492876ab668841ce31f16c1965bc7af4a 100755
(executable)
--- a/
source4/scripting/bin/fullschema
+++ b/
source4/scripting/bin/fullschema
@@
-139,7
+139,12
@@
def write_ldif_one(o, attrs):
continue
# special case for oMObjectClass, which is a binary object
v = o[a]
+ list = []
for j in v:
+ value = fix_dn(j)
+ list.append(value)
+ list.sort()
+ for j in list:
value = fix_dn(j)
if a != "cn":
if a == "oMObjectClass":