Re: how to autofs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-07-03 at 15:15 -0400, Brian Zuromski wrote:
> Hello,
>       I'm looking to setup autofs for a bunch of linux hosts.  What 
> schema should I use?  The automount page on the wiki does not exactly 
> paint a very clear picture.
>  http://directory.fedoraproject.org/wiki/Howto:Automount
> 

These instructions look similar to how ours are setup except that:

1. We use "automountmapname" as the naming attribute for the maps.
2. We use "automountkey" as the naming attribute for the map keys.
3. We don't specify the server name in the "automountinformation".
4. We have to run a different auto.master for Linux than Solaris
clients.

Here's an example auto.master (for Linux):
dn: automountmapname=auto.master,dc=example,dc=com
automountmapname: auto.master
objectclass: top
objectclass: automountmap

dn: automountkey=/home,dc=example,dc=com
automountkey: /home
objectclass: top
objectclass: automount
automountinformation: ldap:automountmapname=auto_home,dc=example,dc=com

Here's an example auto_home:
dn: automountmapname=auto_home,dc=example,dc=com
automountmapname: auto_home
objectclass: top
objectclass: automountmap

dn: automountkey=someuser,dc=example,dc=com
automountkey: someuser
objectclass: top
objectclass: automount
automountinformation: -rw,hard,intr someserver:/export/home/someuser

-Steve

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux