Mário Gamito wrote:
> 
> I'm trying to make a schema of my own.
> 
> For startes, I want a homeZIP.
> 
> I did it like this:
> attributetype(1.3.6.1.4.1.7165.1.1.1.1 NAME 'homeZip'
>     DESC 'Home Zip'
>     SUBSTR caseExactIA5SubstringsMatch
>     EQUALITY caseExactIA5Match
>     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

Did you really include it in your server's configuration? A space is
missing after "attributetype" but slapd should not start if it does not
accept it.

> OpenLdap starts just fine, but when I insert a homeZip value, I get the
> error:
> "ldap_add: Undefined attribute type (17)
>         additional info: homeZip: attribute type undefined"

Look at the subschema to determine whether your new attribute type is
really there. How to:

http://lists.fini.net/pipermail/ldap-interop/2005-June/000508.html

Ciao, Michael.

---
You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to