* LDAP schema
@ 2007-04-24 22:30 Mário Gamito
2007-04-26 5:47 ` Nikolai Lusan
2008-03-30 8:34 ` thorko
0 siblings, 2 replies; 3+ messages in thread
From: Mário Gamito @ 2007-04-24 22:30 UTC (permalink / raw)
To: linux-admin
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,
--
:wq! Mário Gamito
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: LDAP schema
2007-04-24 22:30 LDAP schema Mário Gamito
@ 2007-04-26 5:47 ` Nikolai Lusan
2008-03-30 8:34 ` thorko
1 sibling, 0 replies; 3+ messages in thread
From: Nikolai Lusan @ 2007-04-26 5:47 UTC (permalink / raw)
To: Mário Gamito; +Cc: linux-admin
On Tue, 2007-04-24 at 23:30 +0100, Mário Gamito wrote:
> I'm trying to make a schema of my own.
More power to you! :)
> 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"
Ahhh, that looks like the space set aside for "experimental purposes"
that you are using ... I did the same thing my first time around and
found that the slapd devs have it used all through the codebase for
various bits and pieces, and I was tripping all over it. Your definition
looks fine to me, you may want to get your own IANA number and use that
to develop your schema under ... there is much less chance (i.e. 0) that
you will find yourself in conflict with slapd internals or someone elses
schema.
--
Nikolai Lusan
Systems Administrator
Hitwise Pty. Ltd.
Level 7 / 580 St Kilda Road
Melbourne, Victoria 3004
Australia
Phone: +61 3 8530 2400
Fax: +61 3 9529 8907
www.hitwise.com.au
nikolai.lusan@hitwise.com
Worldwide: • United States • United Kingdom • Australia • New
Zealand • Singapore • Hong Kong
To subscribe to our complimentary monthly newsletter, visit:
http://www.hitwise.com.au/
The information transmitted may be confidential, is intended only for
the person to which it is addressed, and may not be reviewed,
retransmitted, disseminated or relied upon by any other persons. If you
received this message in error, please contact the sender and destroy
any paper or electronic copies of this message. Any views expressed in
this email communication are those of the individual sender, except
where the sender specifically states otherwise. Hitwise does not
represent, warrant or guarantee that the communication is free of
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: LDAP schema
2007-04-24 22:30 LDAP schema Mário Gamito
2007-04-26 5:47 ` Nikolai Lusan
@ 2008-03-30 8:34 ` thorko
1 sibling, 0 replies; 3+ messages in thread
From: thorko @ 2008-03-30 8:34 UTC (permalink / raw)
To: linux-admin
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-30 8:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 22:30 LDAP schema Mário Gamito
2007-04-26 5:47 ` Nikolai Lusan
2008-03-30 8:34 ` thorko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).