summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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))