automounter vs. /net

Carroll, Jim jcarro10 at
Fri Apr 5 04:35:31 EST 2002

Greets all!

I'm puzzling over one aspect of NIS+ under Linux.  I'm trying to get the
fashionable /net to work as it does under Solaris.  My auto_master table is:

/net -hosts             -nosuid,nobrowse
/xfn -xfn
/home2 auto_home        -nobrowse

On the Linux side, my /etc/auto.master is:

/net            nisplus:-hosts          -nosuid,nobrowse
/home2          nisplus:auto_home       -nobrowse
/xfn            nisplus:-xfn

and (after a clean boot), doing a 'ps auxw | grep auto' shows:

root       852  0.0  0.5  1604  668 ?        S    12:25   0:00
/usr/sbin/automount /net nisplus -hosts -nosuid,nobrowse
root       854  0.0  0.5  1604  668 ?        S    12:25   0:00
/usr/sbin/automount /home2 nisplus auto_home -nobrowse
root       856  0.0  0.5  1604  668 ?        S    12:25   0:00
/usr/sbin/automount /xfn nisplus -xfn

The directory /net exists.  I can ping ml97.  On the Solaris side, I can cd
to /net/ml97 and list the shared filesystems.  But on the Linux side, when I
try to cd to /net/ml97, I get a "No such file or directory".

I should mention that the /home2 automounter works fine, no problems there.

At this point, I'm guessing that either I have the Linux client
misconfigured, or that this feature isn't supported.


Jim Carroll

More information about the linux-nisplus mailing list