mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
r23557: 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 (This used to be commit b96b7b623dbc55a4bcf1149347823911a17e717f)
This commit is contained in:
parent
d291b8bf93
commit
c30e91863c
@ -137,9 +137,9 @@ static int objectclass_sort(struct ldb_module *module,
|
|||||||
/* this is the root of the tree. We will start
|
/* this is the root of the tree. We will start
|
||||||
* looking for subclasses from here */
|
* looking for subclasses from here */
|
||||||
if (ldb_attr_cmp("top", current->objectclass) == 0) {
|
if (ldb_attr_cmp("top", current->objectclass) == 0) {
|
||||||
DLIST_ADD(parent_class, current);
|
DLIST_ADD_END(parent_class, current, struct class_list *);
|
||||||
} else {
|
} else {
|
||||||
DLIST_ADD(unsorted, current);
|
DLIST_ADD_END(unsorted, current, struct class_list *);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user