Question about automounting nfs directories within ldap
by Bänsch, Christian (TF)
Dear Community,
thank you for your help to made my ldap configuration runnable and the
login for users working.
Now I have the next question about automounting nfs directories.
In my /etc/exports I have several directories
/export/home
10.188.114.0/25(fsid=0,rw,sync,root_squash,secure,no_subtree_check)
/export/software/linux
10.188.114.0/25(rw,root_squash,sync,subtree_check,secure)
/export/calculate
10.188.114.0/25(rw,root_squash,sync,no_subtree_check)
I want to export when the ldap user is going to login.
But when I do this, I´ll get those error messages.
Oct 9 09:59:13 fautm89 automount[13131]: attempting to mount entry
/home/iwtm009
Oct 9 09:59:13 fautm89 automount[13131]: >> mount.nfs: access denied by
server while mounting fautm89.ltm.uni-erlangen.de:/export/home/iwtm009
Oct 9 09:59:13 fautm89 automount[13131]: mount(nfs): nfs: mount failure
fautm89.ltm.uni-erlangen.de:/export/home/iwtm009 on /home/iwtm009
Oct 9 09:59:13 fautm89 automount[13131]: failed to mount /home/iwtm009
Oct 9 10:00:01 fautm89 automount[13131]: attempting to mount entry
/local/calculate
Oct 9 10:00:01 fautm89 automount[13131]: >> mount.nfs: access denied by
server while mounting fautm89.ltm.uni-erlangen.de:/export/calculate
Oct 9 10:00:01 fautm89 automount[13131]: mount(nfs): nfs: mount failure
fautm89.ltm.uni-erlangen.de:/export/calculate on /local/calculate
Oct 9 10:00:01 fautm89 automount[13131]: failed to mount /local/calculate
Oct 9 10:00:14 fautm89 automount[13131]: attempting to mount entry
/local/linux
Oct 9 10:00:14 fautm89 automount[13131]: >> mount.nfs: access denied by
server while mounting fautm89.ltm.uni-erlangen.de:/export/software/linux
Oct 9 10:00:14 fautm89 automount[13131]: mount(nfs): nfs: mount failure
fautm89.ltm.uni-erlangen.de:/export/software/linux on /local/linux
Oct 9 10:00:14 fautm89 automount[13131]: failed to mount /local/linux
When I do e.g. a ls -la in /home on the server, I get
drwx------ 79 iwtm009 tm 4096 Aug 22 13:15 iwtm009/
on the client I get
dr-xr-xr-x 2 root root 0 Oct 9 09:47 iwtm009
Should I have to adjust this in slapd configuration or am I just blind
to see it?
--
Thank you in advance and best regards,
Christian