[exim] exim4 ldap problem

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Klaus Boehm
Data:  
Para: exim-users
Assunto: [exim] exim4 ldap problem
Hello,

i try to solve smtp authentication over ldap.

this is part of my exim.conf


fixed_login:
driver = plaintext
public_name = LOGIN
server_prompts = Username:: : Password::
server_condition = ${if ldapauth
{user="cn=${quote_ldap_dn:$1},ou=customer,dc=surfclub" pass=${quote:$2}
ldap://mxcmps/}{yes}{no}}

I get always the failure from exim4


fixed_login authenticator failed for mxcmps.dmg.ewt.de (mxcmps) [10.33.6.124]
U=root: 435 Unable to authenticate at present (set_id=berwald_01): failed to
bind the LDAP connection to server mxcmps:389 - LDAP error 48: Inappropriate
authentication
SMTP command timeout on connection from mxcmps.dmg.ewt.de (mxcmps)
[10.33.6.124] U=root

and this is the failure from ldap

mxcmps slapd[167]: connection_get(9)
mxcmps slapd[305]: ==> ldbm_back_bind: dn: n=berwald_01,ou=customer,dc=surfclub
mxcmps slapd[305]: ldbm_cache_open (blksize 8192) (maxids 2046) (maxindirect 5)
mxcmps slapd[305]: ldbm_cache_open (blksize 8192) (maxids 2046) (maxindirect 5)
mxcmps slapd[305]: send_ldap_result: err=48 matched="" text=""

What is wrong with my config?

Thanks.


Klaus


--
---------------------------------------------
Klaus Boehm
Systemadministrator
ewt gmbh
D-86152 Augsburg, Volkhartstr. 4-6
Phone: +49.(0)821.3106-319
Fax: +49.(0)821.310660-319
mailto:k.boehm@ewt.de
http://www.ewt.de
http://www.surf-club.de
---------------------------------------------