From: Chris Eckert on
hi all,

i run solaris 10 u8 and i'd like to map my /export/home dir onto /home
using autofs.

adding a line of the form "user host:/export/home/user" to
/etc/auto_master doesn't have any effect.

any ideas?

thanks
chris

--
CHRIS ECKERT
eckert[at]alphanet.ch - http://www.alphanet.ch/~eckert
gpg public key id 0xD08960E3

From: Michael Laajanen on
Hi,

Chris Eckert wrote:
> hi all,
>
> i run solaris 10 u8 and i'd like to map my /export/home dir onto /home
> using autofs.
>
> adding a line of the form "user host:/export/home/user" to
> /etc/auto_master doesn't have any effect.
>
> any ideas?
>
> thanks
> chris
>
I have actually never done a "local" autofs mapping, always use NIS but
if auto_master has(does it not) a reference to auto_home then you should
maybe add this to your auto_home instead!

And autofs is started!

/michael
From: Canuck57 on
On 19/04/2010 3:52 PM, Chris Eckert wrote:
> hi all,
>
> i run solaris 10 u8 and i'd like to map my /export/home dir onto /home
> using autofs.
>
> adding a line of the form "user host:/export/home/user" to
> /etc/auto_master doesn't have any effect.
>
> any ideas?
>
> thanks
> chris
>

Does not work that way. Both files in /etc. Try:

#-- auto_master
/net -hosts -nosuid,nobrowse
/home auto_home -nobrowse
#-----------

#-- auto_home
userabc -soft,nosuid localhost:/export/home/&
userbcd -soft,nosuid someotherhost:/export/home/&
# catch all, default try
& -soft,nosuid bighomedirhost:/homedir001
#------------

Also remember to setup dfstab if on someotherhost.

Look at it as auto_master defines the directories to manage and the
files it references to hold the auto mount mapping(s).

If setup properly, scales real well. Works with NIS, NIS+ and LDAP too.

--
Time to ask, is our government serving us or are we serving the government?