Error with saslauthd and ldap

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

 




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
#######################################
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
#######################################

/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"

I have allready configure openldap client.
And it's OK when i try a ldapsearch :

Please can you give me an idea where to search ?
Thank you very much


--
Christophe Carles
CNRS - LMGM
Service Informatique
Bât. IBCG
118, route de Narbonne
31062 Toulouse Cedex9
sinfo@xxxxxxxxxxxxxxx
Tél : 05.61.33.59.60
Fax : 05.61.33.58.86





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

  Powered by Linux