From owner-freebsd-questions Tue Dec 3 10:18:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 085D137B401 for ; Tue, 3 Dec 2002 10:18:54 -0800 (PST) Received: from web11204.mail.yahoo.com (web11204.mail.yahoo.com [216.136.131.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 9470F43ECF for ; Tue, 3 Dec 2002 10:18:53 -0800 (PST) (envelope-from ocorrain@yahoo.com) Message-ID: <20021203181853.54415.qmail@web11204.mail.yahoo.com> Received: from [212.136.56.8] by web11204.mail.yahoo.com via HTTP; Tue, 03 Dec 2002 10:18:53 PST Date: Tue, 3 Dec 2002 10:18:53 -0800 (PST) From: Tiarnan O'Corrain Subject: Automount from a Solaris NIS server possible? To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello-- I'm running FreeBSD 4.7-STABLE and have managed (after some difficulty), to get it to bind to a Solaris NIS server we have here. All NIS users can log on now, but I can't figure out how to get home directories automounted when users do log in. I tried a couple of things on the web, an awk script to transform the Solaris "auto.home", to amd syntax, and it seems to work fine, except that no home directories are mounted when NIS users log in. I'm hoping for a "silver bullet" solution! Here are some relevant bits: # cat /etc/amd.conf [ global ] auto_dir = /net log_file = /var/log/amd log_options = all search_path = /etc/amdmaps [/net] map_type = nis map_name = amd.nis #### From the amd.nis map /defaults opts:=rw,grpid,intr,rsize=8192,wsize=8192,resvport;type:=nfs username host==nlattp6sfs1;type:=link;fs:=/volumes/home/toostenburg host!=nlattp6sfs1;os!=netbsd1;type:=nfs;rhost:=nlattp6sfs1;rfs:=/volumes/home/toostenburg host!=nlattp6sfs1;os==netbsd1;type:=nfs;opts:=rw,grpid,intr,resvport,proto="udp",vers=2;rhost:=nlattp6sfs1 It seems that amd is not picking up NIS logons. Any ideas? Cheers Tiarnan __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message