Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2004 09:46:27 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Steve Watt <steve@Watt.COM>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: automount vs Solaris
Message-ID:  <20041008084627.GA48159@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <200410072252.i97Mqifa084091@wattres.Watt.COM>
References:  <200410072252.i97Mqifa084091@wattres.Watt.COM>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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/&
> 
> which gets translated (somehow) by the Solaris automount to look like
> /nfs/users host:/mountpoint/something/users
> 
> But I can't figure out the incantation to get amd.conf to use that.
> 
> I've tried
> [ /nfs ]
>   map_type = nis
>   map_name = auto.nfs
> 
> and map_type of nisplus (which didn't work).
> 
> The entry I'm trying to tickle is:
> # ypcat -k auto.nfs | grep user
> user west:/export/user
> 
> The error I'm getting in the log is:
> 
> 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 = "user", map = "auto.nfs")
> 
> 
> 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/036786.html

    http://www.freebsd.org/cgi/getmsg.cgi?fetch=1001154+0+/usr/local/www/db/text/2004/cvs-all/20040905.cvs-all

so there will be autofs support in 5.3-RELEASE.

	Cheers,

	Matthew

-- 
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBZlPjiD657aJF7eIRAhn/AKCQJEu0x3OItHy3joEJJJ75e9OyTwCfTH71
HDHbokA2GTKoJ3nYOFAVm14=
=RsZ4
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041008084627.GA48159>