From owner-freebsd-hackers Thu Dec 5 1:38:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A45D137B401 for ; Thu, 5 Dec 2002 01:38:37 -0800 (PST) Received: from web11206.mail.yahoo.com (web11206.mail.yahoo.com [216.136.131.188]) by mx1.FreeBSD.org (Postfix) with SMTP id D688C43ED4 for ; Thu, 5 Dec 2002 01:38:36 -0800 (PST) (envelope-from ocorrain@yahoo.com) Message-ID: <20021205093836.74468.qmail@web11206.mail.yahoo.com> Received: from [212.136.56.8] by web11206.mail.yahoo.com via HTTP; Thu, 05 Dec 2002 01:38:36 PST Date: Thu, 5 Dec 2002 01:38:36 -0800 (PST) From: Tiarnan O'Corrain Subject: Automount from a Solaris NIS/NFS server? To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@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-hackers" in the body of the message