Makó Gábor írta:
> > objectClass: person
> > objectClass: inetOrgPerson
> >
>
> Igy is..
> "Object class violation (65)
> invalid structural object class chain (account/inetOrgPerson)"
> es
> "Object class violation (65)
> invalid structural object class chain (account/person)"
>
>
...bocsi kicsit szét szórt vagyok...
az inetOrgPerson -hoz a shadowAccount -ot add hozzá meg a posixAccount -ot
egy objektumban csak egy "structural" objektum osztály lehet,
a többi "AUXILIARY".
(shadowAccount és a posixAccount "AUXILIARY" önnállóan nem használatod
csak valamivel együtt (kiegészítő))
objectclass ( 2.16.840.1.113730.3.2.2
NAME 'inetOrgPerson'
DESC 'RFC2798: Internet Organizational Person'
SUP organizationalPerson
STRUCTURAL
MAY (
audio $ businessCategory $ carLicense $ departmentNumber $
displayName $ employeeNumber $ employeeType $ givenName $
homePhone $ homePostalAddress $ initials $ jpegPhoto $
labeledURI $ mail $ manager $ mobile $ o $ pager $
photo $ roomNumber $ secretary $ uid $ userCertificate $
x500uniqueIdentifier $ preferredLanguage $
userSMIMECertificate $ userPKCS12 )
)
objectclass ( 1.3.6.1.1.1.2.1 NAME 'shadowAccount'
DESC 'Additional attributes for shadow passwords'
SUP top AUXILIARY
MUST uid
MAY ( userPassword $ shadowLastChange $ shadowMin $
shadowMax $ shadowWarning $ shadowInactive $
shadowExpire $ shadowFlag $ description ) )
objectclass ( 1.3.6.1.1.1.2.0 NAME 'posixAccount'
DESC 'Abstraction of an account with POSIX attributes'
SUP top AUXILIARY
MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
MAY ( userPassword $ loginShell $ gecos $ description ) )
_________________________________________________
linux lista - [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux