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

Re: One last problem...

fre, 2002-10-18 kl. 19:26 skrev Douglas Phillipson:

> Just one last problem, ldapsearch always returns NOTHING!

> I use ldapsearch -v -b 'dc=oem,dc=doe,dc=gov' '(cn=*)'  and get the 
> response:
> ldap_init( <default>, 0 )
> filter pattern: (cn=*)
> returning: ALL
> filter is: ((cn=*))
> 0 matches

> What am I doing wrong?

Probably nothing. Just not enough.

- Is "cn" indexed, including "sub?"
- Is objectClass indexed?
- What happens if you index both that and objectClass, as well as use as
filter '(&(objectclass=*)(cn=*))'


Tony Earnshaw

"There are many people who can't face the truth ... If you rob a
normal person of life's lies, at the same time you'll be robbing
him of his happiness."

>From Henrik Ibsen's "Vildanden", "The wild Duck."

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl