Hello,

I am just starting to familiarize myself with LDAP and I am having problems 
with a simple search when using a filter with multiple criteria. I'm trying to 
return distinguishedname attribute when a match exists for both samaccountname 
AND telephonenumber.  The syntax I am using is:

ldapsearch <connect string> 
(&(samaccountname=johndoe)(telephonenumber=555-555-5555)) distinguishedname

I keep getting this error:
(telephonenumber was unexpected at this time.

Thanks in advance,

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to