svn commit: samba r23557 - in
branches/SAMBA_4_0/source/lib/ldb/modules: .
abartlet at samba.org
abartlet at samba.org
Thu Jun 21 01:28:35 GMT 2007
Author: abartlet
Date: 2007-06-21 01:28:33 +0000 (Thu, 21 Jun 2007)
New Revision: 23557
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23557
Log:
Ensure that we don't reorder the objectClass list, if we don't have
any subclasses loaded yet, or none are applicable.
This fixes MMC so that it at least displays the Samba domain as a
domain, but there is still work to be done.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/lib/ldb/modules/objectclass.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/modules/objectclass.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/modules/objectclass.c 2007-06-20 23:24:18 UTC (rev 23556)
+++ branches/SAMBA_4_0/source/lib/ldb/modules/objectclass.c 2007-06-21 01:28:33 UTC (rev 23557)
@@ -137,9 +137,9 @@
/* this is the root of the tree. We will start
* looking for subclasses from here */
if (ldb_attr_cmp("top", current->objectclass) == 0) {
- DLIST_ADD(parent_class, current);
+ DLIST_ADD_END(parent_class, current, struct class_list *);
} else {
- DLIST_ADD(unsorted, current);
+ DLIST_ADD_END(unsorted, current, struct class_list *);
}
}
More information about the samba-cvs
mailing list