I am trying to set up the following configuration on Ubuntu 10.04.2.
My nfs server has the following share in /etc/exports:
Now when I try to mount this from client host I am getting:
nfsserver$ grep netgroup /etc/nsswitch.conf
netgroup: files ldap
nfsserver$ grep netgroup /etc/ldap.conf
nfsserver$ getent netgroup mail
mail (backup01, , xxx.xxx)
At the same time nfs server reports the following error message:
mount.nfs: access denied by server while mounting nfsserver:/export/mail
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.
mountd: refused mount request from backup01.xxx.xxx for /export/mail (/): not exported
Does anyone have any ideas? Seems that netgroups in LDAP are not working here. Is there anything I missed?