[KLUG Members] Pesky LDAP

Jim C members@kalamazoolinux.org
Thu, 12 Sep 2002 09:38:53 -0700


Well I spotted this in the extension.schema.
Apparently it is not working though.

  objectclass     ( 1.3.6.1.4.1.4203.666.100.1
      NAME 'officePerson'
          DESC 'Office employee or computer user'
      SUP inetOrgPerson
      STRUCTURAL
          MAY  ( c $
                 rdn $
                 otherFacsimiletelephoneNumber $
                 IPPhone $
                 URL $
                 comment $
                 reports $
                 conferenceInformation )
          )



Adam Williams wrote:
>>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.........