Hirmke Michael schreef:
Hi,
good to know, but nevertheless it misses all the attributes of
aux classes assigned to a class. Right?
Correct, but formally the attributes are only allowed after you
add the aux class. So the trick would be to ask for all aux
classes of your class using the ditcontentrule query and then
ask for "must" and "may" and that should give you all possible
attributes.
this isn't sufficient, as the ditcontentrule result contains all
*allowed* aux classes for a given class, not the actually assigned
aux classes. See Chris' answer to my original mail.
To get all the really assigned aux classes, one has to fetch the
attributes "auxiliaryClass" and "systemAuxiliaryClass" of a class.
See also
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/statically_linked_auxiliary_classes.asp
Beware that this is a Microsoft specific implementation of a schema. E.g
openldap lists the auxiliary classes in the objectclass attribute.
Using openldap the must+may's of an entry would already have answered
your question. ( e.g.
http://www.openldap.org/lists/openldap-software/200202/msg00352.html )
My suggestion will give you indeed all *allowed* possible attributes for
a class including all possible aux classes. What you are looking for is
all attributes given the currently assigned aux classes in MS AD.
Good to see you found your answer.
Cheers,
Hans
Cheers,
Hans
Bye.
Michael.