I googled, but I couldn't figure out the current status.

My problem:
I tried to move my mailservers from Linux to OpenBSD. It's a qmail-ldap
system with its users stored in OpenLDAP. Each of my users has its own
UID. There is only one troublemaker: maildrop. It depends on getpwuid
and getpwnam. But OpenBSD doesn't know anything about my LDAP-users.

Solution:
There are some solutions. maildrop could lookup the account data
directly before invoking getpwuid and getpwnam. (I prefer not to write
this patch. It ends up in courier-authlib and so on.) The dirty hack is
to use the environment variables which are provided by qmail-local
($USER, $HOME). (This is safe for me because chuid gets called before
executing maildrop. I'm not happy with this solution.)

Another solution would be something like nsswitch. Are there any plans
to implement something like this?

Bye,
        Aiko
-- 
Aiko Barz <[EMAIL PROTECTED]>
Web: http://www.haeckser.de

Reply via email to