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

Re: ldapsearch case insensitive

--On Freitag, 12. April 2002 10:09 +0530 Susanth_TS@sifycorp.com wrote:

We have an openldap server which authenticates users. "uid" is the
attribute with which it authenticates.

We find that ldapsearch is case insensitive when search is done with uid
as the filter.

The attribute type "uid" is defined with matching rules that ignore case:

attributetype ( 0.9.2342.19200300.100.1.1
       NAME ( 'uid' 'userid' )
       DESC 'RFC1274: user identifier'
       EQUALITY caseIgnoreMatch
       SUBSTR caseIgnoreSubstringsMatch
       SYNTAX{256} )

If you need it to be case sensitive, you should define your own ("myUid") with caseExact matching.

Norbert Klasen, Dipl.-Inform.
DAASI International GmbH                 phone: +49 7071 29 70336
Wilhelmstr. 106                          fax:   +49 7071 29 5114
72074 Tübingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de