Re: LDAP schema

thorko <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Mário Gamito wrote:
> Hi,
> 
> I'm trying to make a schema of my own.
> 
> For starters, I want a homeZIP.
> I've created a tim.schema and included it in slapd.conf
> 
> 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 )
> 
> 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"
> 
> Any help would be appreciated.
> 
> Warm Regards,

Hi Mário,
what version of LDAP are u running?
I found this page of schema specifications maybe it helps.
http://www.openldap.org/doc/admin22/schema.html
Ciao
thorko

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.