OK, sorry for the confusion here is the setup again:
OpenLDAP, the pam_ldap and nss_ldap modules from padl.com, the UW IMAP
server, regular qmail (not qmail-ldap).
I have no qmail users or cdb files.
Here is what /var/qmail/bin/qmail-getpw herbie | tr '\0' '\n' produces:
herbie
39500
3
/homes/homefarm/herbie
Herbie (me) has an account on the machine and an entry in /etc/passwd
/var/qmail/bin/qmail-getpw judygs | tr '\0' '\n'
judygs
11371
20
/homes/home21/judygs
Judy has only an entry in the LDAP database, but the results of
qmail-getpw are the same. Here are judy's permissions:
drwx------ 4 judygs users 103 Jun 25 12:44
/homes/home21/judygs
drwx------ 5 judygs users 92 Jun 13 15:00
/homes/home21/judygs/Maildir/
drwx------ 2 judygs users 35 Jun 13 15:00 cur
drwx------ 2 judygs users 2975 Jun 13 15:00 new
drwx------ 2 judygs users 35 Jun 13 15:00 tmp
Yet I can receive mail, and Judy cannot.
I did try playing with qmail-ldap, but it's schema was too different from
the schema we were already using, and it seemed more geared towards
'virtual users' whereas we want people to have real accounts.
Any ideas?
herbie
On Wed, 27 Jun 2001, Charles Cazabon wrote:
>
> Are all of these conditions true for your LDAP users? What is the exact
> output of the command:
>
> qmail-getpw ldap_user_name | tr '\0' '\n'
>
> > The fact the qmail-getpw seems to work is what confuses me.
>
> You said you're not using qmail-users. Does qmail-LDAP still use qmail-getpw
> then? If not, that would explain this, if you're actually using qmail-LDAP (I
> can't remember if you said you were).
>