summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-02 16:19:37 +1000
committerAndrew Tridgell <tridge@samba.org>2009-07-02 23:18:41 +1000
commit0fcd465340a190578723ffa8597e2b8df1400b30 (patch)
tree7549a5d4b1c9e5728b5760565a6e3c5e95c0822c /source4/scripting
parentd49a0e5f7d3788c67aa78d4c856fd3922d13fff9 (diff)
downloadsamba-0fcd465340a190578723ffa8597e2b8df1400b30.tar.gz
samba-0fcd465340a190578723ffa8597e2b8df1400b30.tar.bz2
samba-0fcd465340a190578723ffa8597e2b8df1400b30.zip
show attribute values in sorted order to make comparison easier
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/bin/fullschema5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/bin/fullschema b/source4/scripting/bin/fullschema
index 41c45f30c8..4c73100492 100755
--- a/source4/scripting/bin/fullschema
+++ b/source4/scripting/bin/fullschema
@@ -139,8 +139,13 @@ 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":
print "%s:: %s" % (a, base64.b64encode(value))