LDAP schema objectclass multiple inheritance confuses me
Solution 1:
I found the solution myself reading through https://www.rfc-editor.org/rfc/rfc4512 . The objectClass I am trying to create is STRUCTURAL
whereas one of the super classes (posixAccount
) is AUXILIARY
. Following the RFC this is not allowed:
section 2.4.2 states
"Structural object classes cannot subclass auxiliary object classes."
and furthermore section 2.4.3 states
"Auxiliary object classes cannot subclass structural object classes."
In the end this means that multiple inheritance of an object class never works if your super classes are mixed regarding STRUCTURAL
and AUXILIARY
. I cannot see a good reason for this but nevertheless it's simply not possible by specification.
Solution 2:
I think you’re running into this limitation https://www.rfc-editor.org/rfc/rfc4512#section-2.4.2
”An object or alias entry is characterised by precisely one structural object class superclass chain which has a single structural object class as the most subordinate object class.”