[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP proxy to Active Directory



Jonathan van der Wat wrote:
> line 150: warning, destination attributeType 'sAMAccountName' is not
> defined in schema
> May 28 06:35:30 localhost slapd-ldap[2804]: PROXIED attributeDescription
> "SAMACCOUNTNAME" inserted.
> May 28 06:35:30 localhost slapd-ldap[2804]: /etc/openldap/slapd.conf:
> line 159: warning, destination attributeType 'UnixHomeDirectory' is not
> defined in schema
> May 28 06:35:30 localhost slapd-ldap[2804]: PROXIED attributeDescription
> "UNIXHOMEDIRECTORY" inserted.
> May 28 06:35:30 localhost slapd-ldap[2804]: /etc/openldap/slapd.conf:
> line 162: warning, destination objectClass 'user' is not defined in schema
> May 28 06:35:30 localhost slapd-ldap[2805]: slapd starting
> 
> Should I add that info into the schema?

Yes.

> If so, how do I go about doing this?

Query the subschema subentry from your MS AD and extract the attribute type
descriptions needed. Then add them to the schema:

http://www.openldap.org/doc/admin24/schema.html#Attribute%20Type%20Specification

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature