Patch-ID#  100296-01
Keywords: nfs rpc mount exportfs
Synopsis: SunOS 4.1, 4.1.1: exports lines longer than 256 chars exports to world
Date: 14/May/91
 
SunOS release: 4.1, 4.1_PSR_A, 4.1.1
              

 
Unbundled Product: 
 
Unbundled Release: 
 
Topic:  bug fix
 
BugId's fixed with this patch: 2000680 1044852 1048890

Architectures for which this patch is available: sun3, sun3x, sun4, sun4c

Patches which may conflict with this patch:

Obsoleted by: SunOS 5.0

Problem Description: 
If the cached list of netgroups that a client is not a member of
exceeds the cache capacity then the mount daemon will acknowledge
the client's membership of any netgroup even if it is not a member.

If the access list of hosts is a string under 256 chars then things 
work as expected, but that if it is longer everyone can mount the filesystem.

INSTALL: 

As root:
 # mv /usr/etc/rpc.mountd /usr/etc/rpc.mountd.FCS
 # cp sun{3,3x,4,4c}/{4.1,4.1.1,4.1_PSR_A}/rpc.mountd /usr/etc
 # chown root /usr/etc/rpc.mountd
 # chgrp staff /usr/etc/rpc.mountd
 # chmod 755 /usr/etc/rpc.mountd
 You will then need to kill the currently running rpc.mountd and restart
it as per /etc/rc.local or simply reboot the system.
