[Exim] Exim, Courier, LDAP

Pàgina inicial
Delete this message
Reply to this message
Autor: Torge Ruge send7 GbR -Technik-
Data:  
A: exim-users
Assumpte: [Exim] Exim, Courier, LDAP
I'm trying to set up a Mail System with Courier-Imap, Exim and LDAP. I'm
using the mail scheme from Courier and wrote a server-condition for my exim.
Now I've got the Problem that my authentication Exim <->Ldap and Courier
<->Ldap does not work. The sys.log sais:

Courier<->LDAP:
Dec 3 13:27:28 (none) imapd: Connection, ip=[::ffff:62.155.186.183]
Dec 3 13:27:32 (none) slapd[12813]: daemon: conn=102 fd=16 connection from
IP=127.0.0.1:34359 (IP=0.0.0.0:34049) accepted.
Dec 3 13:27:32 (none) slapd[12866]: conn=102 op=0 BIND
dn="CN=ADMIN,DC=123,DC=DE" method=128
Dec 3 13:27:32 (none) slapd[12866]: conn=102 op=0 RESULT tag=97 err=0 text=
Dec 3 13:27:32 (none) slapd[14360]: conn=102 op=1 SRCH
base="ou=mail,dc=123,dc=de" scope=2 filter="(mail=tr@???)"
Dec 3 13:27:32 (none) slapd[14360]: conn=102 op=1 SEARCH RESULT tag=101
err=0 text=
Dec 3 13:27:32 (none) authdaemond.ldap: authlib: refuse to authenticate
tr@???: uid=0, gid=0
Dec 3 13:27:37 (none) imapd: LOGIN FAILED, ip=[::ffff:62.155.186.183]
Dec 3 13:27:42 (none) imapd: LOGOUT, ip=[::ffff:62.155.186.183]

Exim<->LDAP:
sys.log:
Dec 3 13:28:42 (none) slapd[12813]: daemon: conn=103 fd=17 connection from
IP=127.0.0.1:34361 (IP=0.0.0.0:34049) accepted.
Dec 3 13:28:42 (none) slapd[12866]: conn=103 op=0 BIND
dn="CN=ADMIN,DC=123,DC=DE" method=128
Dec 3 13:28:42 (none) slapd[12866]: conn=103 op=0 RESULT tag=97 err=0 text=
Dec 3 13:28:42 (none) slapd[14360]: conn=103 op=1 SRCH
base="ou=mail,dc=123,dc=de" scope=2 filter="(mail=tr@???)"
Dec 3 13:28:42 (none) slapd[14360]: conn=103 op=1 SEARCH RESULT tag=101
err=0 text=
exim_rejectlog:
------------------------------------------------------------------------------
2001-12-03 13:28:42 Authentication failed for p3e9bbab7.dip.t-dialin.net
(send7.de) [62.155.186.183]: 535 Incorrect authentication data
------------------------------------------------------------------------------

I do not understand why at the Courier<->LDAP part there is the entry with
"uid=0, gid=0". Is there anyone who has had the same problem?

Thx,
Torge

PS: Please excuse my bad english but I'm from Germany.