Hi, I'm trying to implement the following setup.
Kerberos with LDAP-Backend. Postfix and Dovecot authenticate with Dovecot SASL against the Kerberos server. My user informations (logon, name, email, etc.) are stored in the LDAP-directory. I can logon to dovecot with gssapi over dovecot sasl without any problems. I can query fro users with the following command and get the expected result for users stored in ldap. postmap -q ccolum...@fet.at ldap:/etc/postfix/ldap-aliases.cf But when I try to send an email to any address I get the following error. Sep 19 11:56:32 hermes postfix/local[12260]: warning: dict_ldap_connect: Unable to bind to server ldap://laika.htu.tuwien.ac.at:389 with dn empty or implicit: -2 (Local error) With debuglevel = 3 in my ldap-aliases.cf I get the following log entries. Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_create Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_url_parse_ext(ldap://laika.htu.tuwien.ac.at:389) Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_sasl_interactive_bind_s: user selected: GSSAPI Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_int_sasl_bind: GSSAPI Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_new_connection 1 1 0 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_int_open_connection Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_connect_to_host: TCP laika.htu.tuwien.ac.at:389 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_new_socket: 14 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_prepare_socket: 14 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_connect_to_host: Trying 128.131.95.204:389 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_pvt_connect: fd: 14 tm: 10 async: 0 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_ndelay_on: 14 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_int_poll: fd: 14 tm: 10 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_is_sock_ready: 14 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_ndelay_off: 14 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_pvt_connect: 0 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_int_sasl_open: host=laika.htu.tuwien.ac.at Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_err2string Sep 19 12:07:09 hermes postfix/local[12430]: warning: dict_ldap_connect: Unable to bind to server ldap://laika.htu.tuwien.ac.at:389 with dn empty or implicit: -2 (Local error) Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_free_connection 1 1 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_send_unbind Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ber_flush2: 7 bytes to sd 14 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_write: want=7, written=7 Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: 0000: 30 05 02 01 01 42 00 0....B. Sep 19 12:07:09 hermes postfix/local[12430]: dict_ldap_debug: ldap_free_connection: actually freed Can anybody tell my why postmap can access my ldap data and postfix can not? Thanks in advance. Markus