On 26 May 2004, [EMAIL PROTECTED] wrote:

> echo 0 > /var/qmail/control/ldaplocaldelivery or so -- it's late :)
> 
> This will turn of local passwd and cdb lookups and therefor qmail-getpw
> does not get executed.

QLDAPINSTALL says:

~control/ldaplocaldelivery

 To lookup the local passwd file if the LDAP lookup finds no match. This
 affects qmail-lspawn and auth_* if the LDAP lookup returns nothing.
 Default: enabled
 Example: 1
 Note: boolean, use 0 (zero) or 1 (one)

But user 'tzz' was in LDAP, so the getpwnam() call shouldn't be made
at all, even with ldaplocaldelivery enabled.  Are you saying the
documentation is wrong, the code is wrong, or I'm misunderstanding
something?

> Anyway if the stat() hangs because of nfs, then your nfs setup is hosed.
> Normaly nfs hangs only if the system thinks that the directory is nfs
> mounted but the server is not reachable.

Well, I know that, but the NFS server went down and that brought the
mail local deliveries to a standstill.  The idea was that mail
deliveries shouldn't have tried to access /home/tzz at all, that's the
way I designed the qmail-ldap installation.  Yet qmail-getpw was
called and did a stat("/home/tzz") despite my intentions, and that's
why I'm writing to this mailing list.

Ted

Reply via email to