From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 7 08:39:49 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6553716A41F; Wed, 7 Dec 2005 08:39:49 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn.pobox.com (thorn.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9939E43D55; Wed, 7 Dec 2005 08:39:48 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id A4E49B8; Wed, 7 Dec 2005 03:40:09 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id 3B9EE10BF; Wed, 7 Dec 2005 03:40:04 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Ejupv-0003Om-P3; Wed, 07 Dec 2005 08:39:40 +0000 Date: Wed, 7 Dec 2005 08:39:39 +0000 From: Brian Candler To: Brooks Davis Message-ID: <20051207083939.GA13055@uk.tiscali.com> References: <43957D3F.4070109@rsu.ru> <4395DC82.1080103@elischer.org> <20051206193317.GB31292@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051206193317.GB31292@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Wed, 07 Dec 2005 12:37:58 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, Julian Elischer , Michael Bushkov Subject: Re: [PATCH] nsswitch extensions + caching X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2005 08:39:49 -0000 On Tue, Dec 06, 2005 at 11:33:17AM -0800, Brooks Davis wrote: > On Tue, Dec 06, 2005 at 10:46:26AM -0800, Julian Elischer wrote: > > Michael Bushkov wrote: > > [...] > > > > so, I've been wonderring.. what's all the fuss about nsswitch? > > what does it get us? > > It gives us the ability use modules to provide arbitrary backends for a > variety of interfaces to system databases. For instance getpw*(), > gethost*(), etc. Or put it another way - it supplies the missing half to PAM. Whilst PAM can check your password using arbitary backend modules, it can't return your $HOME directory or the uid/gid to use. Regards, Brian.