MBOX-Line: From MRC at CAC.Washington.EDU  Fri Jul 21 10:38:28 2006
To: imap-protocol@u.washington.edu
From: Mark Crispin <MRC@CAC.Washington.EDU>
Date: Fri Jun  8 12:34:37 2018
Subject: [Imap-protocol] LDAP authentication not working for IMAP
In-Reply-To: <44C10CD8.8030602@gentoo.org>
References: <4BFB6FF40EDF44418F01C60A094D1E7009C80A7A@FSTDKA98>
	<Pine.WNT.4.65.0607210909290.2252@Shimo-Tomobiki.panda.com>
	<44C10CD8.8030602@gentoo.org>
Message-ID: <Pine.WNT.4.65.0607210935130.2252@Shimo-Tomobiki.panda.com>

On Fri, 21 Jul 2006, Jan Kundrt wrote:
>> You can use LDAP authentication via PAM. but all IMAP users must be
>> defined in the passwd file since they must be assigned UNIX user ids and
>> UNIX home directories.  The only thing that comes from LDAP would be the
>> password.
> Nope. Please see the nss_ldap [1] package for uids; homes are usually
> defined via pam_ldap.

That's only if UW imapd is built so that the getpwnam() and getpwuid() 
interfaces are both made to use that package.  As distributed, it is not.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

