Peter Gietz wrote: > Am 02.09.2013 18:56, schrieb Mónico Briseño: >> Hi all. I'm new using openldap. I googled all info related with it. I >> decided to extend a ldap schema. but it didn't work. The error >> message is the following: >> >> adding new entry "cn=Gerald W. Cummings,ou=people,dc=example,dc=com" >> ldap_add: Undefined attribute type (17) >> additional info: businessName: attribute type undefined > > since you didn't provide businessName in your schema, openldap cannot > know about it and thus says "attribute type undefined" He did add it to the schema file but... >> attributetype ( 1.3.6.1.4.1.4203.666.1.91 >> NAME 'preferredEmail' >> EQUALITY caseIgnoreMatch >> SUBSTR caseIgnoreSubstringsMatch >> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >> attributetype ( 1.3.6.1.4.1.4203.666.1.93 >> NAME 'businessName' >> EQUALITY caseIgnoreMatch >> SUBSTR caseIgnoreSubstringsMatch >> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) ...it's probably not recognized by the config parser since it's indented which is interpreted as line continuation. Ciao, Michael.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature