MBOX-Line: From jkt at gentoo.org  Fri Jul 21 12:03:37 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.0607211025500.896@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>
	<44C11A97.1020304@gentoo.org>
	<Pine.WNT.4.65.0607211025500.896@Shimo-Tomobiki.panda.com>
Message-ID: <44C12509.4070300@gentoo.org>

Mark Crispin wrote:
> UW imapd uses getpwnam() and getpwuid().  It also, if configured for PAM
> authentication, uses PAM for password validation.  It has no internal
> knowledge of LDAP.

Then it should support LDAP out-of-the-box, IMHO. I've just verified and
both getpwnam() and getpwuid() are controlled by the NSS configuration,
test at [1]. You just need the nss_ldap package and a proper
/etc/nsswitch.conf.

[1] http://dev.gentoo.org/~jkt/tmp/nss-test.c

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/32788c5b/attachment.sig>
