show attribute values in sorted order to make comparison easier
[kai/samba.git] / source4 / scripting / bin / fullschema
index 41c45f30c8c07a780b5d37483ff99e992070dbd9..4c73100492876ab668841ce31f16c1965bc7af4a 100755 (executable)
@@ -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":