ldapsearch -Y PLAIN -U swimonowar -W -b dc=myproject,dc=net -v -d 1 ldap_initialize( <DEFAULT> ) ldap_create Enter LDAP Password: ldap_sasl_interactive_bind_s: user selected: PLAIN ldap_int_sasl_bind: PLAIN ldap_new_connection 1 1 0 ldap_int_open_connection ldap_connect_to_host: TCP localhost:389 ldap_new_socket: 3 ldap_prepare_socket: 3 ldap_connect_to_host: Trying 127.0.0.1:389 ldap_pvt_connect: fd: 3 tm: -1 async: 0 ldap_int_sasl_open: host=myproject.net ldap_err2string ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
getting this error
On Jul 20, 2010, at 12:58 AM, Dan White wrote:
On 19/07/10 23:59 +0600, OSHIM wrote:
test:~/lsc/etc# ldapsearch -U oshim -W -b dc=myproject,dc=net Enter LDAP Password: SASL/DIGEST-MD5 authentication started ldap_sasl_interactive_bind_s: Invalid credentials (49)
You either need:
mech_list: PLAIN LOGIN
in your /usr/lib/sasl/slapd.conf
or you need to explicitly specify a plaintext mechanism:
ldapsearch -Y PLAIN -U oshim -W -b dc=myproject,dc=net
saslauthd cannot support DIGEST-MD5 authentication.
-- Dan White