[KLUG Members] Pesky LDAP

Adam Williams members@kalamazoolinux.org
11 Sep 2002 22:05:06 -0400


>So what do you think might be causeing this?
>>Object class violation attribute c not allowed.

Pretty obvious really.

objectclass ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL
MUST ( sn $ cn )
MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )

objectclass ( 2.5.6.7 NAME 'organizationalPerson' SUP person STRUCTURAL
MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $
preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
street $ postOfficeBox $ postalCode $ postalAddress $
physicalDeliveryOfficeName $ ou $ st $ l ) )

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 )

No where in the hierarchy of inetOrgPerson is "c" listed as a permitted
attribute.  Interestingly enough it isn't listed in the Ximian Evolution
schema either.

objectclass     ( 1.3.6.1.4.1.8506.1.3.1
NAME 'evolutionPerson'
DESC 'Objectclass geared to Evolution Usage'
SUP inetOrgPerson
STRUCTURAL
MAY ( fileAs $ primaryPhone $ carPhone $ homeFacsimileTelephoneNumber $
otherPhone $ businessRole $ managerName $ assistantName $ assistantPhone
$ otherPostalAddress $ mailer $ birthDate $ anniversary $ spouseName $ 
note $ companyPhone $ callbackPhone $ otherFacsimileTelephoneNumber $
radio $ telex $ tty $ categories $ calendarURI $ freeBusyURI )
)

Things that make you go Hhhmmmmmmmmm.........