Oops, that should have been addressed to Simon, not Michael.. ;-)

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Michael 
Ströder
Sent: Tuesday, November 24, 2009 2:30 AM
To: Simon Walter
Cc: [email protected]
Subject: [ldap] Re: ldap ssl MS AD

Simon Walter wrote:
> I've tried with the command:
> $ ldapsearch -x -W -LLL -E pr=200/noprompt -h ??? -p 3268 -D
> "?...@???.???" -b "dc=???, dc=???" -s sub "(cn=*)" cn mail sn
> 
> And I get a lot of info from the AD. However when I try to use SSL:
> $ ldapsearch -W -LLL -E pr=200/noprompt -h ??? -p 636 -D "?...@???.???"
> -b "dc=???, dc=???" -s sub "(cn=*)" cn mail sn
> 
> I get:
> ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)

Option -x (to enforce simple bind) is missing in the second command line.

Ciao, Michael.





Reply via email to