From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 12:08:38 2004 Return-Path: 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 0927716A4CE for ; Wed, 29 Sep 2004 12:08:38 +0000 (GMT) Received: from mx01.ewc.edu (mx01.ewc.edu [68.152.80.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E18D43D4C for ; Wed, 29 Sep 2004 12:08:37 +0000 (GMT) (envelope-from mjoyner@vbservices.net) Received: from [192.168.4.160] (host-161.firewall.ewc.edu [68.152.80.161]) by mx01.ewc.edu (8.12.9p2/8.12.9) with ESMTP id i8TC8XxS058734; Wed, 29 Sep 2004 08:08:34 -0400 (EDT) (envelope-from mjoyner@vbservices.net) Message-ID: <415AA5BC.6050302@vbservices.net> Date: Wed, 29 Sep 2004 08:08:28 -0400 From: Michael Joyner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040906 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cjclark@alum.mit.edu References: <20040928051708.GA3706@blossom.cjclark.org> <4159A8E2.5070207@vbservices.net> <20040929055425.GA47888@blossom.cjclark.org> In-Reply-To: <20040929055425.GA47888@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new cc: freebsd-current@freebsd.org Subject: Re: nsupdate(8) rc.d Script X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 29 Sep 2004 12:08:38 -0000 M$ DNS runs on top of M$ AD I am hoping your script (not tested it yet) will save me the hassle of having to manually put the unit's hostname into /etc/dhclient.conf. It would probably be nice if dhclient had an option to auto-send the machine's assigned hostname in /etc/rc.conf to the DHCP server (M$) as the M$ DHCP server, if set to, will auto-update the M$ DNS to add the machine's hostname to DNS. If there is such an option, I can't find it. :) I am thinking that your script may allow a simple '="YES"' entry in /etc/rc.conf and have it directly update the DNS records whether the machine is using static IP or dynamic IP, which would be *extremely* nice in a M$ controlled network. Now if only someone would come up with "pam_add_user_to_master.passwd" along with a "pam_make_user_a_home_dir" upon a successful KRB authenticated login. :) (or maybe a pam_root_preexec ala SAMBA) Maybe even a pam_cache_credentials for laptops. :) Crist J. Clark wrote: > On Tue, Sep 28, 2004 at 02:09:38PM -0400, Michael Joyner wrote: > >>I think this would be exremely useful for *bsd machines on Active >>Directory networks. > > > Microsoft Active Directory? I thought that was bastardized LDAP? It > uses DNS updates for something? If so, let me know if there is anything > to do to make the script more useful in such an environment. > > >>This way I can (hopefully) stop mucking around with /etc/dhclient.conf >>to get it to send 'hostname' to the DNS server and DHCP server. > > > Is it a ISC DHCP server? I've had a pretty easy time getting FreeBSD > clients to send hostname info which the DHCP server which then does > updates to a BIND DNS server. Like I said earlier, my original motivation > was self-updating for IPv6 addresses just like IPv6 hosts pretty much > configure themselves with rtsol(8). Well, since it's all ISC software, > you would hope it all plays well together. Does using MS in the mix make > life rough?