[Exim] Problems with exim and LDAP (alias) ...

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Lars Nixdorf
Data:  
Para: exim-users
Assunto: [Exim] Problems with exim and LDAP (alias) ...
hi,

I'm working with exim-3.35 and openldap-2.0.15 on Linux Slackware-8.0.

Exim works for me, but now I want to switch to a LDAP based Exim. It
compiles fine. In first step I put out the configuration for aliases.
But it doesn't work. "ldapsearch", "exim -be ..." ... works fine.

Could anybody help, please? I don't know, what is wrong. Thx

My alias configuration:
...
..
system_aliases:
   driver = aliasfile
   search_type = ldap
   query = "user=\"cn=Admin1,ou=Administrators,o=Firm\" pass=secret \
           ldap://my.host.de:389/o=Firm?mail?sub?${local_part}"
   file_transport = address_file
   pipe_transport = address_pipe
...
..




My configuration at LDAP site:
...
..
dn: uid=ln01, ou=People, o=Firm
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: User User
sn: User
uid: ln01
userPassword:: e1NTSEF9SHhzTmhissZYsG8zVmVRdGpxRlJsbmQrV0U=
mail: user@???
...
..


The Output from my Exim (exim -bt user) is the following:
---
user@??? cannot be resolved at this time:
search_find deferred: ldap search initiation failed
---


The LDAP Server send this in debugging:
---
connection_get(9): got connid=235
connection_read(9): checking for input on id=235
ber_get_next
ber_get_next: tag 0x30 len 61 contents:
do_bind
ber_get_next
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
ber_scanf fmt ({iat) ber:
ber_scanf fmt (o}) ber:
do_bind: version=2 dn="cn=Lars Nixdorf,ou=Administrators,o=PLANET"
method=128
dn2entry_r: dn: "CN=ADMIN1,OU=ADMINISTRATORS,O=FIRM"
=> dn2id( "CN=ADMIN1,OU=ADMINISTRATORS,O=FIRM" )
====> cache_find_entry_dn2id("CN=ADMIN1,OU=ADMINISTRATORS,O=FIRM"): 3 (1
tries)
<= dn2id 3 (in cache)
=> id2entry_r( 3 )
====> cache_find_entry_id( 3 ) "cn=Admin1, cn=Administrators, o=Firm"
(found) (1 tries)
<= id2entry_r( 3 ) 0x80d4620 (cache)
====> cache_return_entry_r( 3 ): returned (0)
do_bind: v2 bind: "cn=Admin1,ou=Administrators,o=Firm" to "cn=Admin1,
ou=Administrators, o=Firm"
send_ldap_result: conn=235 op=0 p=2
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 9
connection_get(9): got connid=235
connection_read(9): checking for input on id=235
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
do_unbind
ber_get_next
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
connection_closing: readying conn=235 sd=9 for close
connection_resched: reaquiring locks conn=235 sd=9
connection_resched: attempting closing conn=235 sd=9
connection_close: conn=235 sd=9
---

THX

E-Mail:     nixdorf@???
Tel:        03853030143