Hi,

I have followed the instructions @ http://directory.fedoraproject.org/wiki/Howto:Automount and I manage to have automount working. If you still have troubles to follow the instruction of the above link I can send you a more detail how-to directly.

Further to your question I have something else to ask. In my case I have a multi-master replication and the problem is that I can't take advantage of it with automount and I'll explain why. As mentioned in the above how-to, in my automount entry for /home, I have specified the name of the server in "automountInformation"
i.e. automountInformation: ldap:myLDAPServer.example.com:ou=auto.home,dc=example,dc=com
This means that in case the server is down clients will not query the other server for automount information. Is there any way to resolve this without having to change my configuration to Steve's one?

Andreas

Steve Rigler wrote:
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@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users