Im trying to automount home directories which exported from an IPA server to a client.The setup is the following one :
auto.master:
/home/ldap /etc/ldap.file
ldap.file :
* -rw,sync server:/home/ldap/&
This setup apparently works , but if I modified it to :
auto.master:
/home/guests /etc/ldap.file
ldap.file :
* -rw,sync server:/home/ldap/&
it doesn't :
su - ldapuser20
su: warning: cannot change directory to /home/ldap/ldapuser20: No such
file or directory
In order for automount to work ,is it necessary the client side to have set the same directory as NFS export (/home/ldap on client should be the same as /home/ldap NFS export) ? I made numerous attempts with other custom directories from client side and all of them failed. Any help would be appreciated.