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

Re: ldapsearch uid=a* doesn't work (ITS#2507)



The "*" character is being expanded by shell.  You need to escape it.

>>> <Michael.Dean@detir.qld.gov.au> 13-May-03 5:21:24 AM >>>
Full_Name: Michael Dean
Version: 2.1.19
OS: Solaris 9
URL: ftp://ftp.openldap.org/incoming/ 
Submission from: (NULL) (203.45.186.91)


when doing a search with a single character and a wildcard no results
are
returned
ie.
solarisbox:~ # ldapsearch -LLLb o=unix uid=a* dn

**noresults**

solarisbox:~ # ldapsearch -LLLb o=unix uid=ab* dn
dn: cn=Ab0001,ou=people,o=unix
dn: cn=Ab0002,ou=people,o=unix
dn: cn=Ab0003,ou=people,o=unix
etc....

nb. database freshly built by "slapadd -b o=unix -l ldif-file" (v2.1.19
with
Berkeley DB 4.1.25)