[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
How can I define unique attribute types in my own schema?
- To: <OpenLDAP-software@OpenLDAP.org>
- Subject: How can I define unique attribute types in my own schema?
- From: "Sadik Kumlali" <Sadik.Kumlali@telenity.com>
- Date: Wed, 6 Oct 2004 18:07:01 +0300
- Content-class: urn:content-classes:message
- Thread-index: AcSrr6DfjzazWrL8S2m1RDOYF5F0wgABRLeg
- Thread-topic: How can I define unique attribute types in my own schema?
Dear All,
I could not found a way of doing an attribute unique while defining my
own schema.
I need following attributes:
bookCode (unique)
bookName
bookDescription
What I want is not to allow duplicate bookCodes.
I thought that it might caused by attribute identifiers such as SYNTAX
and EQUALITY. However, if I try to insert same 'cn's for inetOrgPerson,
it does not allow me while it allowing me to insert same 'sn's. I found
that both of 'cn' and 'sn' are defined as 'SUP name'. So there is no
difference in definition. What mechanism enforces the OpenLDAP not to
allow duplicated 'cn's?
Thanks in advance
Ali Sadik