[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Question about automounting nfs directories within ldap
- To: openldap-technical@openldap.org
- Subject: Question about automounting nfs directories within ldap
- From: Bänsch, Christian (TF) <christian.baensch@fau.de>
- Date: Mon, 9 Oct 2017 10:07:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fau.de; s=fau-2013; t=1507536442; bh=5DEXu9mN2/CbON29r4JS5dm7ppLzXsbVRQFpmKIDN6E=; h=To:From:Subject:Date:From:To:CC:Subject; b=LHLQxbXfd/ieqVtemxhj/mTKix/9pnPcS8XGzFplbLnKjCzB5eiq2VyXERRN3V1kv sF22HaBBP2aWS4bS0bYmtmPwXPDKEOj+tu/416Bgpd8ilEjNz5HYGFLa7VMWz91qAk 9b1wpSOblEp3Rpj6Ywm39ExLZr+VZBfYHT6kHBd5tPTyemeyY5eWXqGVa36T9sQjPL jvTHjkOGJC0khWWLncOlh8NokPmJrRudrvwZToNwIufJ19j67MFDFMaqYLcXIQGv4J +onQZC+1p2wytgtbNSDj2dF7C6OIjfSezCooxOAoTjpNkBEWPTHgNQsU4HgVYhuqoa AR3cIZzbd/D/w==
- Organization: Lehrstuhl fuer Technische Mechanik (LTM)
- User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
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