Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!munnari.oz.au!metro!cluster!rex From: rex@cs.su.oz (Rex Di Bona) Newsgroups: comp.sys.mips Subject: /etc/netgroup and /etc/exports Message-ID: <2365@cluster.cs.su.oz.au> Date: 30 Apr 91 10:28:44 GMT Sender: news@cluster.cs.su.oz.au Reply-To: rex@cluster.cs.su.oz (Rex Di Bona) Organization: Basser Dept of Computer Science, University of Sydney, Australia Lines: 31 We are trying to get netgroups to work with our exports file, but without any success. We have set up the netgroup file to include the machines into a small set of groups for convenience, and used these groups in the exports file (or at least this was the theory :-). We also had groups of groups, again for convenience. The groups were only used as entries in the access field of the export entry, which the manual entry states is valid. No matter what options we gave to exportfs it would put the netgroup name in as a machine name. It did not even access the netgroup file (checked via an `ls -luL`). The /etc/vis.conf file has an entry for netgroup, the entry is 'files' which should cause the netgroup file to be used. And another bug: I wrote a program to use the routine 'getnetgrent' which is supposed to walk through the net group entries. This program works fine for entries containing only machine triples, but complains with the library error string 'Syntax Error in Net Group File' when I try to print out a group entry which specifies other netgroup entries. This was independant of the order of the entries. This was tried on a 3230 and a 2030 running both 4.51 and 4.52 Has anybody managed to use the netgroup stuff without using the NIS, or even using the NIS? We don't use NIS, and would like not to for as long as possible. Other suggestions would also be appreciated. As a temporary fix we have very long export files, but this is inconvenient. -------- Rex di Bona (rex@cs.su.oz.au) Penguin Lust is NOT immoral