[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Searches failing weird
Hi Chris,
Chris Hamilton wrote:
I have been having a heck of a time getting simple searches to work. For a
while the only search I seemed to be able to do is just a unfiltered search
that brings back the whole tree.
However, I have since found a search I can do:
ldapsearch -b o=top -h localhost "(cn=*ris*)" mail
Please show us the hole entry (ldapsearch without the mail attribute)
>ldapsearch -b o=top -h localhost "(cn=*ris*)"
Are you shure that cn attribute is set to "chris@ambigc.com"?
Probably your index is corrupt ..
regards
Andreas
Results in:
# chris@ambigc.com, People, Ambiguous Computer Company Ltd, top
dn: cn=chris@ambigc.com,ou=People,o=Ambiguous Computer Company Ltd,o=top
mail: chris@ambigc.com
(cn=c*) works
(cn=*chr*) works
However, searches for (cn=ch), (cn=chris*), (cn=chr*), and (cn=chris@ambigc.com)
fail to bring back results. So it appears to only be able to search for 3
characters and only between * and * and the first letter plus *.
I assume I am doing something really wrong. Can someone help me please?
-Thanks,
Chris Hamilton
----------------------------------------------------------------
This message was sent through ambigc.com.
--
-- Andreas Gabriel
@AG Neurophysik ,Renthof 7, 35032 Marburg TEL/FAX +49 +6421 28-25683/27034
@HRZ, Hans-Meerwein-Str. , 35032 Marburg TEL/FAX +49 +6421 28-23560/26994
------------------ Philipps-Universitaet Marburg -------------------------