Re: Error with saslauthd and ldap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/19/13 09:59 +0200, Christophe Carles wrote:

Le 14/08/2013 16:31, Christophe Carles a écrit :
Hello,

I'm trying to configure a proxy smtp server with postfix.
I would like to use sasl authentication with ldap.

After a lot of try, i have no result.

When I test the configuration of  saslauthd :
testsaslauthd -u carles -p secret -s smtp
0: NO "authentication failed"

And in the logfile : /var/log/messages :
Aug 14 16:25:47 ares saslauthd[24543]: do_auth : auth failure: [user=carles] [service=smtp] [realm=] [mech=ldap] [reason=Unknown]

The system is Centos 6.4 64b

Configuration :

/etc/saslauthconf

This filename does not match the CONFIG_FILE listed below.

You may wish to start saslauthd manually, with '-d -a ldap -O
/etc/saslauthconf' to test with.

#######################################
ldap_server: ldap://192.168.11.1
ldap_search_base: ou=Peoples,dc=ibcg,dc=biotoul,dc=fr
ldap_bind_dn: cn=rootldap,dc=ibcg,dc=biotoul,dc=fr
ldap_bind_pw: password
#######################################

Add 'ldap_debug: -1' for additional debug output.

/etc/sysconfig/saslauthd
#######################################
SOCKETDIR=/var/run/saslauthd
MECH=ldap
# Options sent to the saslauthd. If the MECH is other than "pam" uncomment the next line.
#DAEMONOPTS=--user saslauth
CONFIG_FILE="/etc/saslauthd.conf"
# Additional flags to pass to saslauthd on the command line. See saslauthd(8)
# for the list of accepted flags.
FLAGS="-r"

--
Dan White




[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux