how to NOT use SASL

Frank Van Damme <[email protected]> Tue, 11 May 2010 12:48:49 +0200
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
Hi list,

Now this is something I don't understand. TSL shouldn't require the
use of sasl, logically speaking, yet why am I getting this output?

frvdamme@osc1:~$ ldapsearch  -w dd -D
'cn=admin,dc=otec,dc=vub,dc=ac,dc=be' '(cn=admin)'  -H
ldap://localhost -x
ldap_bind: Invalid credentials (49)
frvdamme@osc1:~$ ldapsearch  -w dd -D
'cn=admin,dc=otec,dc=vub,dc=ac,dc=be' '(cn=admin)' -x -H ldap://osc1
-x
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

So the only difference is how I specify the hostname and ldapsearch
chooses to use sasl, even though I'm specifying -x. Why??


-- 
Frank Van Damme
A: Because it destroys the flow of the conversation.
Q: Why is it bad?
A: No, it's bad.
Q: Should I top post in replies to mailing lists or on Usenet?