diff options
author | Brendan Powers <brendan0powers@gmail.com> | 2009-12-14 20:47:18 -0500 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-12-18 14:27:44 +1100 |
commit | 08060068bf9ad7cc5f450e805b0caab30d407a56 (patch) | |
tree | ccf0a6aaea111ea2144b369bbfedd86551f7961f /source4/dsdb/samdb/cracknames.c | |
parent | 8b889256540e471c399f020871cf18fb4d89e694 (diff) | |
download | samba-08060068bf9ad7cc5f450e805b0caab30d407a56.tar.gz samba-08060068bf9ad7cc5f450e805b0caab30d407a56.tar.bz2 samba-08060068bf9ad7cc5f450e805b0caab30d407a56.zip |
s4-dsdb: fix handling of AUX classes in objectclass_sort
This is done by sorting the classes by subClass_order, which will
check if the last structural class is valid to add (in
objectclass_do_add instead checking the last class in the list).
They were being sorted by building a class tree, and adding the
classes to the list in that order. However, AUX classes usually don't
fit into that tree, so LDB_ERR_OBJECT_CLASS_VIOLATION was returned. I
have changed the behavior to sort the classes by subClass_order
instead.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/cracknames.c')
0 files changed, 0 insertions, 0 deletions