[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ldap
It works !
Adam Tauno Williams wrote:
>
> Ew! First you need to remove the "modifytimestamp" attributes. Netscape should
> not have outputted those by default as those are operational attributes
> maintained by the server and cannot be modified by the user.
Your'e right
> According to the core.schema objectclass person does not have an attribute mail:
>
> 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 ) )
>
> You want to add "objectclass: inetorgperson" to each object (IMHO):
>
> 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 )
> )
>
> which is defined in inetorgperson.schema.
I have done this. But had no luck the first time. When I added objectclass inetOrgPerson an error 'missing attribute' displayed and
I couldn't figure out what was going wrong. Youre adding of the class here pointed me in the right direction though. The SUB keyword
means that the MUST fields of organizationPerson should be added too...
Thanks !
Bert.