Question : Automount user home directories in ldap ???
Scenario:
when user will login to ldap server its home directory will change to /home/guests/username
My configurations:
cat /etc/auto.master
/home/guests/ /etc/nfs.auto
cat /etc/nfs.auto
* -fstype=nfs,rw 192.168.1.199:/ldap/&
I am logged in to the machine using xyz[ local user ] username.
When I restart autofs service, it gives me following error
Loaded: loaded (/usr/lib/systemd/system/autofs.service; disabled) Active: active (running) since Mon 2016-02-15 13:25:18 PKT; 16s ago Process: 3962 ExecStart=/usr/sbin/automount $OPTIONS --pid-file /run/autofs.pid (code=exited, status=0/SUCCESS) Main PID: 3964 (automount) CGroup: /system.slice/autofs.service └─3964 /usr/sbin/automount --pid-file /run/autofs.pid
Feb 15 13:25:15 client1.homedomain.local automount[3964]: setautomntent: lookup(sss): setautomntent: No such file or directory Feb 15 13:25:17 client1.homedomain.local automount[3964]: DIGEST-MD5 common mech free Feb 15 13:25:18 client1.homedomain.local systemd[1]: Started Automounts filesystems on demand.
when i su with ldap user , it gives me this error
su: warning: cannot change directory to /home/guests/ldapuser5: No such file or directory
Kindly help me to solve this issue
note:
ldap mount point is working fine with manual mount.
|