From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 5 21:32:59 2004 Return-Path: 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 10DF516A4CE; Fri, 5 Mar 2004 21:32:59 -0800 (PST) Received: from 66.89.130.142.ptr.us.xo.net (66.89.130.142.ptr.us.xo.net [66.89.130.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96D9643D2D; Fri, 5 Mar 2004 21:32:58 -0800 (PST) (envelope-from jkh@queasyweasel.com) Received: from [192.168.1.112] ([192.168.1.112])i265PWb31806; Fri, 5 Mar 2004 21:25:32 -0800 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jordan K Hubbard Date: Fri, 5 Mar 2004 21:33:16 -0800 To: Michael Bushkov X-Mailer: Apple Mail (2.612) cc: Gordon Tetlow cc: bork@rsu.ru cc: os@rsu.ru cc: hackers@freebsd.org cc: and@rsu.ru Subject: Re: IPC nsswitch implementation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2004 05:32:59 -0000 Why not use a UNIX domain socket as the transport and then use credential passing to pass the credentials lookupd should use to do the lookup? On Mar 5, 2004, at 1:27 PM, Michael Bushkov wrote: > When you're > using current nss-modules they work as part of your program - and > geteuid functions > work correctly. But when lookupd is used, euid of the process is > lookupds' euid. -- Jordan Hubbard Engineering Manager, BSD Technology Group Apple Computer