Package: dovecot-core Version: 1:2.1.7-7 Severity: normal Dear Maintainer,
using dovecot with ldap: userdb { args = service=ldap driver = nss } I get the following error written to the mail.log: Jun 19 11:37:04 mailint1 dovecot: auth: Fatal: dlopen(/usr/lib/libnss_ldap.so) failed: /usr/lib/libnss_ldap.so: cannot open shared object file: No such file or directory Jun 19 11:37:04 mailint1 dovecot: pop3-login: Disconnected: Auth process broken (disconnected before greeting, waited 0 secs): user=<>, rip=10.2.1.61, lip=10.2.0.37, TLS handshaking, session=<txtIkn7kFwAKxgF9> Indeed the path of libnss_ldap.so changed to /usr/lib/x86_64-linux-gnu/libnss_ldap.so in wheezy. I guess this change could fix the problem, but I have not tested it jet, and obviously works only for x86_64: --- dovecot-2.1.7.orig/src/auth/userdb-nss.c +++ dovecot-2.1.7/src/auth/userdb-nss.c @@ -87,7 +87,7 @@ userdb_nss_load_module(struct nss_userdb const char *name = module->nss_module.name; char *path; - path = p_strdup_printf(pool, "/usr/lib/libnss_%s.so", name); + path = p_strdup_printf(pool, "/usr/lib/x86_64-linux-gnu/libnss_%s.so", name); module->nss_module.handle = dlopen(path, RTLD_GLOBAL | RTLD_NOW); if (module->nss_module.handle == NULL) i_fatal("dlopen(%s) failed: %s", path, dlerror()); -- Package-specific info: -- System Information: Debian Release: 7.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.utf8) Shell: /bin/sh linked to /bin/dash Versions of packages dovecot-core depends on: ii adduser 3.113+nmu3 ii libbz2-1.0 1.0.6-4 ii libc6 2.13-38 ii libpam-runtime 1.1.3-7.1 ii libpam0g 1.1.3-7.1 ii libssl1.0.0 1.0.1e-2 ii openssl 1.0.1e-2 ii ucf 3.0025+nmu3 ii zlib1g 1:1.2.7.dfsg-13 dovecot-core recommends no packages. Versions of packages dovecot-core suggests: pn dovecot-gssapi <none> ii dovecot-imapd 1:2.1.7-7 ii dovecot-ldap 1:2.1.7-7 pn dovecot-lmtpd <none> ii dovecot-managesieved 1:2.1.7-7 pn dovecot-mysql <none> pn dovecot-pgsql <none> ii dovecot-pop3d 1:2.1.7-7 ii dovecot-sieve 1:2.1.7-7 pn dovecot-solr <none> pn dovecot-sqlite <none> ii ntp 1:4.2.6.p5+dfsg-2 Versions of packages dovecot-core is related to: ii dovecot-core [dovecot-common] 1:2.1.7-7 pn dovecot-dbg <none> pn dovecot-dev <none> pn dovecot-gssapi <none> ii dovecot-imapd 1:2.1.7-7 ii dovecot-ldap 1:2.1.7-7 pn dovecot-lmtpd <none> ii dovecot-managesieved 1:2.1.7-7 pn dovecot-mysql <none> pn dovecot-pgsql <none> ii dovecot-pop3d 1:2.1.7-7 ii dovecot-sieve 1:2.1.7-7 pn dovecot-sqlite <none> -- Configuration Files: /etc/default/dovecot changed [not included] /etc/dovecot/README [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/dovecot/README' /etc/pam.d/dovecot changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org