Error with saslauthd and ldap

Christophe Carles <[email protected]>
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
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
[email protected]
Tél : 05.61.33.59.60
Fax : 05.61.33.58.86
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.