Hi,
I am trying to set up the following configuration on Ubuntu 10.04.2.
My nfs server has the following share in /etc/exports:
Code:
/export/mail @mail(rw,secure,no_root_squash,sync,no_subtree_check)
nfsserver$ grep netgroup /etc/nsswitch.conf
netgroup: files ldap
nfsserver$ grep netgroup /etc/ldap.conf
nss_base_netgroup ou=Netgroup,dc=xxx,dc=xxx
nfsserver$ getent netgroup mail
mail (backup01, , xxx.xxx)
Now when I try to mount this from client host I am getting:
Code:
mount.nfs: access denied by server while mounting nfsserver:/export/mail
At the same time nfs server reports the following error message:
Code:
mountd[14460]: refused mount request from backup01.xxx.xxx for /export/mail (/): not exported
I am only able to mount this when I put local netgroup definitions, getent netgroup mail > /etc/netgroup solves this problem however I would rather like to store my netgroups in LDAP.
Does anyone have any ideas? Seems that netgroups in LDAP are not working here. Is there anything I missed?
Bookmarks