[Date Prev][Date Next]
RE: what is STRUCTURAL,AUXILIARY, ABSTRACT,top?
>>>I don't understand what STRUCTURAL,AUXILIARY, ABSTRACT
>>>( 18.104.22.168.4.1.1466.344 NAME 'dcObject' SUP top AUXILIARY MUST dc )
>>>"AUXILIARY" in the object class definition above may become
>>>STRUCTURAL,ABSTRACT in other object class definition,why ?
>>Read these excellent resources:
>Interesting that the first example in this document (page 9) violates the
>structural model; the object is both an "person" and "account" which are
>structural classes derived from "top". At least, according to the schema
>that I have...
Good eye! Elder versions of OpenLDAP didn't enforce those rules (I'm not sure
if current ones do, but I assume future ones will). The document is about ~2
years in the making and some sections reflect growth in my own understanding
over that time.
The object in question IS wrong, I'll add it to my list of fixes. It should
not be an "account" but a "person" and a "posixAccount"
objectclass ( 22.214.171.124.126.96.36.199 NAME 'posixAccount' SUP top AUXILIARY
DESC 'Abstraction of an account with POSIX attributes'
MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
MAY ( userPassword $ loginShell $ gecos $ description ) )
Thanks for the correction, I'm more than happy to get more of them.