On Mon, Jul 06, 2009 at 09:26:52PM +1000, paul sorenson wrote:

> > If getent(1) is returning results that are not found via getpwnam(3),
> > your C-library or nsswitch are broken. Trace the system calls made by
> > "postmap -q" and "getent" and see if anything interesting turns up.
> 
> Thanks for your help - the problem is solved.  Tracing through postmap,
> libnss_ldap.so was not found.  Closer inspection revealed that this was
> a 32 bit postfix package installed on a 64 bit system so it didn't look
> in /usr/lib64.

So all 32-bit executables have a non-working getpwnam(3), when LDAP is
involved. This is broken, the solution is to install a 32-bit libnss_ldap.so,
you should not need a 64-bit Postfix (nothing wrong with 64-bit Postfix
of course, but it solves only part of the problem).

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to