[Date Prev][Date Next]
Re: How can I define unique attribute types in my own schema?
Sadik Kumlali wrote:
I could not found a way of doing an attribute unique while defining my
I need following attributes:
What I want is not to allow duplicate bookCodes.
By which you mean you want to prevent one entry having multiple bookCode
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?
Maybe the definition of uidNumber etc in nis.schema make a better example?
Buchan Milne Senior Support Technician
Obsidian Systems http://www.obsidian.co.za
B.Eng RHCE (803004789010797)