show attribute values in sorted order to make comparison easier
authorAndrew Tridgell <tridge@samba.org>
Thu, 2 Jul 2009 06:19:37 +0000 (16:19 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 2 Jul 2009 13:18:41 +0000 (23:18 +1000)
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":