nis nfs netgroup problem

Rudy Gevaert rgevaert at elis.ugent.be
Sat Nov 27 11:03:02 CET 2004


Hello,

I'm trying to set up NIS with NFS.  I've posted this mail to the
debian user list, but haven't received any response to it :( That's
why I'm posting it here.  And I need NIS with NFS for fai to work like
intented.

The server running NIS and NFS is a nat box. I'm using the package
ipmasq for the masquerading.  Only boxen behind the nat box are using
NIS and NFS.

NFS works when I export a directory on the server like this:
/home       10.0.0.0/255.255.255.0(rw,sync)

However when I want to use a netgroup, it doesn't work:
/home   @testbakken(async,rw,no_root_squash)

testbak:~# mount gateway.gevaert:/home /home
mount: gateway.gevaert:/home failed, reason given by server: Permission denied

syslog reports:
Nov 27 10:52:16 gevaert rpc.mountd: refused mount request from 10.0.0.250 for /home (/): no export entry
Nov 27 10:52:27 gevaert ypserv[27491]: refused connect from 157.193.206.67:606 to procedure ypproc_domain (gevaert,;0)
Nov 27 10:52:47 gevaert ypserv[27491]: refused connect from 157.193.206.67:606 to procedure ypproc_domain (gevaert,;0)

157.193.206.67 is the external ip from the natbox.  I don't think the
last two lines have anything to do with the mount request because they
show up when I am not working on the machine too.

This is the entry in /etc/exports
/home   @testbakken(async,rw,no_root_squash)

and this is the contents of /etc/netgroup
lappie   (duvel.gevaert,,)
testbakken (testbak.gevaert,,)

ant01  (ant01.gevaert,,)
ant02  (ant02.gevaert,,)
ant03  (ant03.gevaert,,)

ants ant01 ant02 ant03
faiclients ants testbakken

When I run netgroup on "testbak" machine
testbak:~# netgroup -h testbakken
testbak.gevaert

I see that nis and netgroups are working.

What could be the problem?

NIS is setup correctly because I can login onto the a NIS client
machine (testbak) when using NIS.

Thanks in advance,

Rudy




More information about the linux-fai mailing list