Creating automounts with Identity Management

Latest response

Hi,

I'm currently building an Identity Management server on Red Hat 6.4 but I am running into some issues with the automount.
We have multiple NFS servers that Identity Management will need to push out to clients/servers.

NFS Server 1:
This server has a few automounts that will need to be shared.
/export/home
/export/share1
/export/share2

So in the Identity Management GUI I configured the following.
Added a Automount Location called NFS_Server1
Added Direct Map
           Map: auto.home
Added Automount Keys with the following information
           Key: /home                     (I assume this field will mount the directory listed below on to each server that looks at Identity Management)
           Mount Information: -rw, soft, NFS_Server:/export/home/

I configure nsswitch.conf so my automount looks like the following;
files       ldap       sss

 

Can someone tell me what I am doing wrong with this configuration?

Thanks.

 

 

EDIT:
After some trial and error I think I found the proper way to input the automount information into IPA but I am getting an error.

ipa automountlocation-tofiles NFS_Server
/etc/auto.master:
/-          /etc/auto.direct
/home   /etc/auto.home
-----------------------------
/etc/auto.direct
-----------------------------
/etc/auto.home:
home               -rw,soft nfs_server:/export/home

When I view /var/log/messages I see the following line;
setautomntent:lookup(sss): setautomntent: no such file or directory

My nsswitch.conf reads the following for the automount line;
automount          files    sss

Anyone able to point me in the right direction for this?

Thanks,

Matt

Responses