home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!sdd.hp.com!think.com!barmar
- From: barmar@think.com (Barry Margolin)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: Problem with Netgroups
- Date: 18 Aug 1992 18:51:17 GMT
- Organization: Thinking Machines Corporation, Cambridge MA, USA
- Lines: 21
- Message-ID: <16rgr5INNlkh@early-bird.think.com>
- References: <1992Aug15.232833.3688@samba.oit.unc.edu> <1992Aug18.122640.6360@informatik.uni-ulm.de>
- NNTP-Posting-Host: telecaster.think.com
-
- In article <1992Aug18.122640.6360@informatik.uni-ulm.de> borchert@titania.mathematik.uni-ulm.de (Andreas Borchert) writes:
- >IMHO, exportfs should be rewritten to allow netgroups also be specified
- >in root and rw.
-
- The problem isn't exportfs. The reason is that the access option is
- processed by mountd when the client first connects, while rw and root must
- be processed by nfsd when it handles each NFS request. Since mounting
- happens relatively infrequently, mountd can search the netgroup hierarchy.
- Adding such checking to nfsd could have major performance implications.
-
- One possible solution would be for mountd to perform the checking rw and
- root, and to include an encoding of the result in the file handle that it
- returns. This would require some form of encryption of file handles, so
- that the client couldn't simply flip the bits that indicate these
- protection modes.
-
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-