From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 08:46:37 2004 Return-Path: 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 C21F516A4CE for ; Fri, 8 Oct 2004 08:46:37 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60C1D43D46 for ; Fri, 8 Oct 2004 08:46:36 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i988kSGZ028284 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Oct 2004 09:46:28 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i988kSe9028253; Fri, 8 Oct 2004 09:46:28 +0100 (BST) (envelope-from matthew) Date: Fri, 8 Oct 2004 09:46:27 +0100 From: Matthew Seaman To: Steve Watt Message-ID: <20041008084627.GA48159@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Steve Watt , freebsd-questions@freebsd.org References: <200410072252.i97Mqifa084091@wattres.Watt.COM> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <200410072252.i97Mqifa084091@wattres.Watt.COM> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Fri, 08 Oct 2004 09:46:28 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: automount vs Solaris X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 08:46:38 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 07, 2004 at 03:52:43PM -0700, Steve Watt wrote: > I'm trying to bring a FreeBSD server up in a mostly Solaris environment, > and am currently arguing with amd. The Solaris systems share an NIS > map (auto.nfs) that looks like > users host:/mountpoint/something/& >=20 > which gets translated (somehow) by the Solaris automount to look like > /nfs/users host:/mountpoint/something/users >=20 > But I can't figure out the incantation to get amd.conf to use that. >=20 > I've tried > [ /nfs ] > map_type =3D nis > map_name =3D auto.nfs >=20 > and map_type of nisplus (which didn't work). >=20 > The entry I'm trying to tickle is: > # ypcat -k auto.nfs | grep user > user west:/export/user >=20 > The error I'm getting in the log is: >=20 > Oct 7 15:47:42 appseng1 amd[536]: key user: No value component in "west:= /export/user" > Oct 7 15:47:42 appseng1 amd[536]: No fs type specified (key =3D "user", = map =3D "auto.nfs") >=20 >=20 > It feels like there's some magic bit I'm missing. Last time I tried to do anything like that, it was in a mixed environment of FreeBSD, Linux, Solaris and a couple of Irix boxes. Apart from FreeBSD, they all understood autofs and could mount stuff happily using NIS maps. Unfortunately I never could get FreeBSD to understand those maps and translate them into what amd wanted. Ended up having a separate amd mount map just for the FreeBSD boxes -- which was a pain, but not too much of one since the FreeBSD boxes were generally the doing DNS, DHCP, firewalling and (ironically) NIS serving: no need to NFS mount mouch at all. On the other hand, there is this: http://lists.freebsd.org/pipermail/freebsd-current/2004-September/03678= 6.html http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D1001154+0+/usr/local/www/= db/text/2004/cvs-all/20040905.cvs-all so there will be autofs support in 5.3-RELEASE. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBZlPjiD657aJF7eIRAhn/AKCQJEu0x3OItHy3joEJJJ75e9OyTwCfTH71 HDHbokA2GTKoJ3nYOFAVm14= =RsZ4 -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--