help with sasl and ldap

Discussion in 'HOWTO-Related Questions' started by juliyana, Aug 19, 2008.

  1. juliyana

    juliyana New Member


    I am trying to make my SASL /with open ldap work. I can query with ldapsearch and resolve the username and password.
    I am trying to bypass pam in the middle. But somehow if I do not define -s option while running testsaslauthd it uses imap.
    Here is the output of testsaslauthd
    testsaslauthd -u test1 -p welcome
    0: NO "authentication failed"


    Aug 18 14:32:33 vernal saslauthd[19899]: do_auth : auth failure: [service=imap] [realm=] [mech=ldap] [reason=Unknown]

    Here are my conf files.
    ldap_servers: ldap://
    ldap_bind_dn: uid=test1,cn=users,
    ldap_auth_method: bind
    #ldap_filter: mail=%U,


    When I grep sasl, I see it running as
    /usr/sbin/saslauthd -m /var/run/saslauthd -O /etc/saslauthd.conf -a ldap
    root 19900 19899 0 14:14 ? 00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -O /etc/saslauthd.conf -a ldap

    Any help will be greatly apprecaited.


Share This Page