From owner-cvs-all Thu Jun 11 07:38:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA28382 for cvs-all-outgoing; Thu, 11 Jun 1998 07:38:55 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA28348; Thu, 11 Jun 1998 07:38:47 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id WAA12236; Thu, 11 Jun 1998 22:38:41 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199806111438.WAA12236@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Bill Paul cc: cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/net ns_name.c ns_netint.c ns_parse.c ns_print.c ns_ttl.c res_mkupdate.c res_update.c Makefile.i In-reply-to: Your message of "Thu, 11 Jun 1998 06:32:50 MST." <199806111332.GAA13466@hub.freebsd.org> Date: Thu, 11 Jun 1998 22:38:40 +0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Bill Paul wrote: > > peter 1998/06/11 02:03:06 PDT > > > > Modified files: > > lib/libc/net Makefile.inc base64.c herror.c > > inet_net_pton.c inet_network.c > > inet_ntoa.c inet_ntop.c inet_pton.c > > nsap_addr.c res_comp.c res_config.h > > res_data.c res_debug.c res_init.c > > res_mkquery.c res_query.c res_send.c > > res_stubs.c > > Added files: > > lib/libc/net ns_name.c ns_netint.c ns_parse.c > > ns_print.c ns_ttl.c res_mkupdate.c > > res_update.c > > Log: > > Update the resolver parts to bind-8.1.2 level. I have not touched the > > getXXXXbyYYYY() interfaces yet. > > Please tell me that you plan to incorporate the IRS system, not just > for host lookups but for getpwent, getgrent and friends as well. Please. > Pretty please. With sugar on top. I'll be your best friend. :) I'm thinking about it. :-) There are a couple of things to consider... 1: we get things like hesiod for free, along with scope for things like pure radius accounts etc. 2: IRS is "pure".. This means that getpwent/getpwnam() would not know about the '+' hack to switch over to YP. On one hand I think killing this off would be good, but on the other hand we loose some flexability. I guess there is always the option of using a Solaris-style 'passwd', 'passwd_compat', and 'nis' style schemes where passwd is pure local, nis is pure nis, and 'passwd_compat' is a hybrid that understands '+' and can be configured on or off as needed. > This would not only let us get rid of /etc/host.conf, it would give > me everything I need to drop NIS+ into the system (well, I'd have to > write some NIS+ IRS modules, but that's much less of a pain than > merging IRS with libc in the first place). The IRS passwd and NIS modules are very weak compared to our present libc system.. No hashed pwd.db files, no caching of YP data in hash tables etc and all the other fine tuning. So, we pretty much have to re-write our passwd, NIS, etc stuff with an IRS interface to replace the simple versions there (no disrespect intended towards the bind8 irs stuff, it's got to aim at a lowest common denominator - not all OS's have db in libc). > -Bill > > PS: I presume you preserved the __dns_getanswer() hack for ypserv, yes? Yes, that is part of the getXXXbyYYY() code that I have not touched yet. Cheers, -Peter -- Peter Wemm Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message