From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,a0689f4c906657f,start X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,a0689f4c906657f,start X-Google-Attributes: gidfee84,public From: bchill@gis.ucdavis. (Brian C Hill) Subject: OSF1 3.X automounter with -hosts and netgroups Date: 1996/05/30 Message-ID: <4ol00j$h5d@mark.ucdavis.edu>#1/1 X-Deja-AN: 157622669 organization: University of California, Davis newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc It appears that if you export file systems via a netgroup from any system (SunOS, OSF1, Irix, etc.) to an OSF1 3.X system and expect to be able to access any of those systems from the OSF 3.X via the -hosts map of the automounter, you have to have the netgroup on the OSF 3.X system as well! No other vendor's automounter requires this. It is obviously not a problem if the "other" system and OSF1 3.X system are in the same NIS domain, but if they aren't (i.e. both hosts are managed by totally separate groups), it is a real pain. Here is the specific problem I ran into and fixed by forcing the other system manager to create a mirror of the same netgroup that I am exporting the file systems to: I have a netgroup that contains a list of OSF1 3.2D hosts and I export SunOS 5.4 filesystems to that netgroup, but I could get to the SunOS 5.4 system from the OSF1 3.2D systems via the OSF1 3.2D autmounter and the -hosts map. I did some snoops (SunOS 5.X's incarnation of tcpdump). The OSF1 automounter requests a lists of exports from the SunOS mountd and gets it. The list that is returned is a list of filesystems and the netgroups and/or hostnames they are exported to. Note that the netgroups are not expdanded! My guess is that, at this point, the OSF1 automounter sees that its own hostname does not appear in the list and _assumes_ that it can therefore not mount any of the SunOS 5.X filesystems. I am guessing that the OSF1 automounter doesn't take into account the possibility that its own hostname may be hidden in a netgroup. I also tried the reverse (SunOS 5.4 -> OSF1 3.2D). When a SunOS 5.X automounter tries to mount filesystems via -hosts, it attempts to mount all filesystems returned even though its own hostname doesn't appear with any of the filesystems (presumably dispensing with all host name and netgroup name info). Is this correct? If so, does Digital see this as a bug in its automounter? Is it known? Will it be fixed? Thanks for any info. ____________________________________________________________________ / Brian C. Hill bchill@ucdavis.edu (916) 753-0358 \ | Systems Programmer University of California, Davis | | Graduate School of Management & GIS Center |