Re: NFS server write issues using netgroup

2015-02-01 Thread deloptes
Peter Viskup wrote:

> root@media:~# grep netgroup /etc/nsswitch.conf
> netgroup:       files

on the server here it is also disabled

#netgroup:   nis

I assume your file is also the server side one.
The server here was configured years ago, so I am not sure why it is
commented out, but it should have come from a NFS howto or so like here.

   netgroupNetwork-wide list of hosts and users, used for access
   rules.  C libraries before glibc 2.1 supported netgroups
   only over NIS.

I suggest you check "man nsswitch.conf"

Also it would be helpful to mention the NFS version you are using. I assume
it is 3, but still there is a major difference between 3 and 4 in how
groups are mapped.






-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mamgk7$lck$1...@ger.gmane.org



NFS server write issues using netgroup

2015-02-01 Thread Peter Viskup
Would like to discuss the issue I am facing before opening bug report.

NFS System: latest Debian Jessie
NFS: nfs-kernel-server 1:1.2.8-9

Export config:
/data/folder @clients(rw,no_subtree_check,root_squash)

Netgroup config:
root@media:~# cat /etc/netgroup
clients (dm800,-,), (laptop,-,)

root@media:~# grep netgroup /etc/nsswitch.conf
netgroup:   files

I don't have rw access to mounted folder. Once migrated to configuration
without netgroup the permissions allow rw access as expected.

Name resolution is ok, mounting works. Am I missing or overlooked something?

-- 
Peter