From owner-freebsd-current@FreeBSD.ORG Sun Mar 5 21:45:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CC2416A420; Sun, 5 Mar 2006 21:45:49 +0000 (GMT) (envelope-from frode@nordahl.net) Received: from smtp1.powertech.no (smtp1.powertech.no [195.159.0.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6851443D69; Sun, 5 Mar 2006 21:45:45 +0000 (GMT) (envelope-from frode@nordahl.net) Received: from [192.168.123.190] (ti211110a080-8691.bb.online.no [85.165.97.243]) by smtp1.powertech.no (Postfix) with ESMTP id 31C038947; Sun, 5 Mar 2006 22:45:44 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <92110488-9A1A-4C70-9C84-FAD151F6C616@nordahl.net> Content-Transfer-Encoding: 7bit From: Frode Nordahl Date: Sun, 5 Mar 2006 22:45:42 +0100 To: nectar@freebsd.org X-Mailer: Apple Mail (2.746.2) Cc: freebsd-current@freebsd.org Subject: FreeBSD nss, getgroupmembership(3) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2006 21:45:49 -0000 Hello, I have been playing around with nss and libc this weekend to find ways to make nss_ldap work more efficiently by coupling getgrouplist (3) with _nss_ldap_initgroups_dyn. I discovered that making getgrouplist(3) play with nss was impossible without creating a new API. By coincidence I found that NetBSD has created the infrastructure needed to make this a reallity allready! In NetBSD getgrouplist(3) is now a front-end for getgroupmembership(3). http://mail-index.netbsd.org/tech-userlevel/2004/12/01/0001.html Is there any chance for FreeBSD to get an updated import of NSS from NetBSD anytime soon? :-) Frode Nordahl frode@nordahl.net