[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: DN question.



Samit Sathe writes:

Hi,

We have extended the standard LDAP schema and added an attribute called
Userid. The 'Userid' attribute is defined with EQUALITY set to
caseExactMatch.

Note that "userid" already exists; "uid" is an alias for it 0.9.2342.19200300.100.1.1 NAME ( 'uid' 'userid' )

We have also created an objectclass which uses this attribute. We want
to add entries for this objectclass.
This Userid is to be a part of the distinguished name (DN), so that we
can add entries with case sensitive DNs. For example we add an entry
having a DN (Userid=TEST, ou=custom, o=xyz.com). Also we would like to
add another entry having a DN (Userid=test, ou=custom, o=xyz.com).


Our problem is if we add the first entry, LDAP does not accept the
second entry. The message returned is 'Entry already exists'. Since the
attribute Userid is defined to be case sensitive (EQUALITY set to
caseExactMatch) it should accept the second entry also. But it does not?

The 2.0 code does not honor the syntax of the attribues in the DN.
This will be supported in 2.1 (and already is in HEAD code).
You may give it a try.


Pierangelo.

Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati