automounter vs. /net

LINDER Thierry Thierry.Linder at uditis.ch
Wed Jan 14 09:15:03 GMT 2004


Hello Jim,

I've the same problem as you mentionned 2 years ago approximatively:

Do you find a SOLUTION ?

Thanks by advance

Thierry


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.

Suggestions?

Jim Carroll

----------------------------------------------------------------------

Thierry Linder                   Tél. central +41 (0)32 557 55 00
Mandataire Commercial            Mobile       +41 (0)79 473 92 35
Key Account Manager              Fax          +41 (0)32 557 55 05
Rue de la Gare 4                   
CH 2034 Peseux (NE)
mailto:thierry.linder at uditis.ch
http://www.uditis.ch 



More information about the linux-nisplus mailing list