From owner-freebsd-stable@FreeBSD.ORG Mon Jul 15 21:39:03 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D28EDB49 for ; Mon, 15 Jul 2013 21:39:03 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) by mx1.freebsd.org (Postfix) with ESMTP id 99A13C3D for ; Mon, 15 Jul 2013 21:39:03 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.6/8.14.6/NETPLEX) with ESMTP id r6FLd2Vw045446; Mon, 15 Jul 2013 17:39:02 -0400 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.1 (mail.netplex.net [204.213.176.9]); Mon, 15 Jul 2013 17:39:02 -0400 (EDT) Date: Mon, 15 Jul 2013 17:39:02 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Jan Bramkamp Subject: Re: LDAP authentication confusion In-Reply-To: <51E46747.7070705@rlwinm.de> Message-ID: References: <1373915752.13754.140661255962197.3CA2BD96@webmail.messagingengine.com> <51E46747.7070705@rlwinm.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Daniel Eischen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 21:39:03 -0000 On Mon, 15 Jul 2013, Jan Bramkamp wrote: > On 15.07.2013 21:51, Daniel Eischen wrote: >> >> Wouldn't it be easier just to edit /etc/nsswitch.conf >> anyway? > PAM and NSS switch are two different subsystems. NSS is just for > resource lookups (users, groups, hosts, ...). PAM is for access control. > > With ldap in nsswitch.conf for users and groups you can lookup a LDAP > user but the user can't log into $service through PAM. This requires > pam_ldap.so in pam.d/$service. Minor correction. "This requires the ldap PAM library (pam_ldap.so) to be installed." No pam.d entries seem to be needed. None seem to be necessary on Solaris 10 either. -- DE