*BSD News Article 76566


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!alpha.sky.net!news.abest.com!news.internetMCI.com!newsfeed.internetmci.com!news.stealth.net!demos!news1.best.com!nntp04.primenet.com!nntp.primenet.com!news.asu.edu!ennfs.eas.asu.edu!cs.utexas.edu!howland.erols.net!agate!dan
From: dan@math.berkeley.edu (Dan Strick)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: FreeBSD amd and "privileged port" mount requests
Date: 21 Aug 1996 04:29:03 GMT
Organization: University of California, Berkeley
Lines: 19
Message-ID: <4ve3af$o7q@agate.berkeley.edu>
NNTP-Posting-Host: math.berkeley.edu

I am attempting to configure a FreeBSD 2.1.5 system to automount
file systems exported from Sun file servers.  The file servers
require that NFS requests come from a privileged port.  I can
instruct FreeBSD to use a privileged port by mounting the
remote file system manually and specifying either the "-P"
option or the apparently undocumented "resvport" option.

The "-P" option does not seem to work in FreeBSD AMD automounter
maps, but the undocumented "resvport" option does work.

Now, how do I do it with the AMD automounter using an NIS automount
map built for sun workstations running AMD.  Since the map is for
suns, there is no "resvport" option in it.  I cannot change the map.
Is there some way to tell the FreeBSD version of the AMD automounter
to make "resvport" the default without changing the map?

Thanks,
	Dan Strick
	dan@math.berkeley.edu