From owner-freebsd-hackers Wed Aug 4 11:15:22 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from voyager.fisicc-ufm.edu (ip-46-094.guate.net [200.12.46.94]) by hub.freebsd.org (Postfix) with ESMTP id 7D3141540C for ; Wed, 4 Aug 1999 11:14:42 -0700 (PDT) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from obonilla@localhost) by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id MAA05116 for freebsd-hackers@freebsd.org; Wed, 4 Aug 1999 12:13:48 -0600 (CST) (envelope-from obonilla) Date: Wed, 4 Aug 1999 12:13:47 -0600 From: Oscar Bonilla To: freebsd-hackers@freebsd.org Subject: NSS Project update Message-ID: <19990804121347.B5080@fisicc-ufm.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After collecting a bunch of emails from the list, this is the approach I'll be taking: 1. use the existing nsdispatch code obtained from NetBSD as a base for parsing the /etc/nsswitch.conf file. 2. Make the C library nsdispatch aware. The dtab[] array will be filled dynamicaly from the contents of /etc/nsswitch.conf. I'm still not sure if this has to be done "whithin" the C library or if nsdispatch should fill the dtab[] array itself and not relay on the caller (i.e. drop the dtab[] parameter). It seems to me at this point that the easiest approach is to have nsdispatch fill the dtab array itself. 3. Move the current implementation of the get*ent and get*by* from the C library to three dynamically loaded modules, namely: nss_files.so, nss_nis.so, and nss_dns.so 4. Add more nss_*.so modules for things like LDAP, etc. once again: comments, suggestions. Someone mentioned that we should still be able to produce statically linked binaries for things like /stand and /sbin. I suggest making the nsdispatch (or get* functions) revert to files if everything else fails (not the modules themselves, but the loading of the modules). How does this sound? Regards, -Oscar -- For PGP Public Key: finger obonilla@fisicc-ufm.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message