MBOX-Line: From jkt at gentoo.org  Fri Jul 21 11:19:03 2006
To: imap-protocol@u.washington.edu
From: =?UTF-8?B?SmFuIEt1bmRyw6F0?= <jkt@gentoo.org>
Date: Fri Jun  8 12:34:37 2018
Subject: [Imap-protocol] LDAP authentication not working for IMAP
In-Reply-To: <Pine.WNT.4.65.0607210935130.2252@Shimo-Tomobiki.panda.com>
References: <4BFB6FF40EDF44418F01C60A094D1E7009C80A7A@FSTDKA98>
	<Pine.WNT.4.65.0607210909290.2252@Shimo-Tomobiki.panda.com>
	<44C10CD8.8030602@gentoo.org>
	<Pine.WNT.4.65.0607210935130.2252@Shimo-Tomobiki.panda.com>
Message-ID: <44C11A97.1020304@gentoo.org>

Mark Crispin wrote:
> 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.

Well, provided the uw-imapd uses the standard glibc calls, a properly
configured nss (/etc/nsswitch.conf) should be enough. It's a system's
configuration, not the imapd's one. I'm not familiar with the uw-imapd
internals, though, and we're off-topic here :).

Cheers,
-jkt

-- 
cd /local/pub && more beer > /dev/mouth

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20060721/e50b2feb/attachment.sig>
