nis nfs netgroup problem

Frank Lenaerts lenaerts.frank at pandora.be
Mon Nov 29 09:46:49 CET 2004


On Sat, Nov 27, 2004 at 11:03:02AM +0100, Rudy Gevaert wrote:
> Hello,

Hi,

> 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)

I suppose you re-exported after this change?

> 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

What's the output of a showmount -e gateway.gevaert?

> 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

Looks ok but I've never seen "fully qualified" hostnames in NIS
context. AFAIK, NIS is "flat" i.e. does not use scoping as in DNS.

Could you replace testbakken (testbak.gevaert,,) with testbakken
(testbak,,) and retry it?

> Rudy

-- 
lenaerts.frank at pandora.be

gpg fingerprint: A41E A399 5160 BAB9 AEF1  58F2 B92A F4AB 9FFB 3707
gpg key id: 9FFB3707

Those who do not understand Unix are condemned to reinvent it, poorly."
-- Henry Spencer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20041129/1cb6dfb1/attachment.bin 


More information about the linux-fai mailing list