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

ldapsearch not going through all the entries

Hello. Let me re-phrase my question. 

when I try the following command :  

    ldapsearch -v -u -b 'ou=abook,dc=mydomain' '(sn=C*)' 

I get 50 matches

when I try this other command :

    ldapsearch -v -u -b 'ou=abook,dc=mydomain' '(sn=D*)' 

I get nothing:

ldap_init( <default>, 0 )
filter pattern: (sn=D*)
returning: ALL
filter is: ((sn=D*))
ldap_search: No such object
0 matches

The database contains surnames commencing with the "D" letter 
with this base 'ou=abook,dc=mydomain'.

Any idea?