[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problem with '.' in search attributes...
I'm having a problem searching for attribute values that contain periods.
For example, say I have an entry like the following in my database:
dn: userid=jhdoe001, o=organization, c=us
userid: jhdoe001
mail: jhdoe001@site.org
mail: john.doe@site.org
mail: j.doe@site.org
The following work:
$ ldapsearch -b 'o=organization, c=us' '(userid=jhdoe001)'
$ ldapsearch -b 'o=organization, c=us' '(mail=john.doe@site.org)'
$ ldapsearch -b 'o=organization, c=us' '(mail=john.*)'
$ ldapsearch -b 'o=organization, c=us' '(mail=j.*)'
However, these don't:
$ ldapsearch -b 'o=organization, c=us' '(mail=jhdoe001*)'
$ ldapsearch -b 'o=organization, c=us' '(mail=john.doe*)'
$ ldapsearch -b 'o=organization, c=us' '(mail=j.doe*)'
I've looked in the documentation, bug lists, and scanned through some of the
mail archives and haven't been able to find anything like this. Does anyone
have any idea why this is happening? I am using OpenLDAP 1.2.7.
--
Titus Anderson System Programmer
titus.anderson@louisville.edu Information Technology
(502) 852-8898 University of Louisville