With a little side of applesauce...

Monday, October 25, 2010

exim4 / vacation - Child process of address_pipe transport returned 1 from command: /usr/bin/vacation

I had an interesting issue with vacation messages failing after a server upgrade last week. The error in /var/log/exim4/mainlog was:
2010-10-25 11:12:27 1PAPep-00005x-25 ** |/usr/bin/vacation me <me@example.org> R=userforward T=address_pipe: Child process of address_pipe transport returned 1 from command: /usr/bin/vacation

The symptoms were:
1. root users could view LDAP users via getent password.
2. non-root users could not view LDAP users via getent password username.
2b. non-root users could view LDAP users via getent password username ONCE, after restarting ncsd, but, never again:
sudo /etc/init.d/nscd restart

The fix was to:
chmod 644 /etc/libnss-ldap.conf


The answer was found here:
https://filer.case.edu/wiki/notes/linux_authentication#ldap

No comments: