[KLUG Members] debug ldap failure

Richard Harding members@kalamazoolinux.org
Mon, 15 Dec 2003 22:05:26 -0500


>>I am finding that I am not getting the search results I expect however. 
>>For some reason if I just list out the database I can see the user and 
>>the attribute mail (that is being search on) is there and valid. However 
>>when I perform a specific search on that mail attibute it comes up 
>>empty. I even tried searching on the uid value and still get no results. 
>>Any idea as to why my searches are coming up empty?
>>host:ldapsearch -a never -b "dc=home,dc=ricksweb,dc=info" -h localhost -x
>><---snip--->
>># rharding, home.ricksweb.info
>>dn: uid=rharding,dc=home,dc=ricksweb,dc=info
>>    
>>
>...
>  
>
>>mail: rharding
>>    
>>
>...
>
>Do you have any indexes declared on the mail attribute?
>  
>
Yes, I have this line in the conf:
index           objectClass eq
index           mail eq
index           uid eq