On 19.6.2013, at 12.53, Micha Krause <mi...@noris.net> wrote:

> 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.

Userdb nss is somewhat of a kludge that I don't think is necessary anymore 
anyway. It was originally added because of getpwent()'s lack of error 
reporting, but later I realized there's a getpwent_r() that does report errors. 
So userdb passwd should be a perfect replacement.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to