From 0fcd465340a190578723ffa8597e2b8df1400b30 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 2 Jul 2009 16:19:37 +1000 Subject: show attribute values in sorted order to make comparison easier --- source4/scripting/bin/fullschema | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/scripting') 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,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": -- cgit