SUMMARY - NIS/Automountd

From: Pablo Jejcic <pablo.jejcic_at_smartweb.rgu.ac.uk>
Date: Fri Jul 16 2004 - 06:34:16 EDT
Hi people,
	First of all, thanks to :

- Gerard Henry
- Ryan A. Krenzischek
- Kelly Ormsby
- Manchikanti, Kalyan
- Hung-Sheng Tsao

	The solution for the original problem is still a mystery, but thanks to
the people o n the list, I got a workaround that works.

	What I end up doing was to export the filesystems for this machine
overriding the NIS netgroups authentication. The weird thing, is that
when you login into the machine (using NIS), you can see the machine
using ypcat in the netgroup NIS map... anyway, it is working now, and I
can finish with the rest of the machiens I need and come back to this
later.

	Please find below answers and the original post:

On Wed, Jul 14, 2004 at 11:03:19AM +0100, Pablo Jejcic wrote:
> Gurus,
>       First, don't kill me because I know I must be overlooking
something 
> here...
>       OK, here I go, I have a network with sevral Solaris servers
using 
>       NIS/NFS and NIS/Automount, one of the share fs is /usr/local, I
installed 
> many of the machines already, but this last one is refusing to mount 
> /usr/local... when I boot the machine, login as root, cd to
/usr/local, I 
> get /usr/local: permission denied
> 
> 
> What I'm not checking?
> 
> Cheers!
> 
> Pablo.-



     From: 
Gerard Henry
<ghenry@cmi.univ-mrs.fr>
       To: 
Pablo Jejcic
<pablo.jejcic@smartweb.rgu.ac.uk>
  Subject: 
Re:
NIS/Automountd
     Date: 
Wed, 14 Jul
2004
14:25:53
+0200

look at /etc/dfs/dfstab on your nfs server, to see if your client can
mount fs
on your nfs server, try something like:
share -F nfs -o rw=clientA  /usr/local
on your client, try:
mount nfs-server:/usr/local /mnt if it works
verify your automounter tables, your nis tables (especially netgroup if
you use it)




           From: 
Ryan A.
Krenzischek
<krenzischek@Encompasserve.org>
             To: 
Pablo Jejcic
<pablo.jejcic@smartweb.rgu.ac.uk>
        Subject: 
Re: NIS/Automountd
           Date: 
Wed, 14 Jul 2004
13:12:59 -0500
(CDT)


Have you added your host to the netgroup file?  Did you give it
permission
to see the filesystem in the dfstab?

Ryan

           From: 
Kelly Ormsby
<kelly@watri.org.au>
             To: 
Pablo Jejcic
<pablo.jejcic@smartweb.rgu.ac.uk>
        Subject: 
Re: NIS/Automountd
           Date: 
Thu, 15 Jul 2004
09:36:49 +0800

you aren't sharing the /usr/local share with the right permissions for 
that machine. Check to make sure that if you are sharing to a domain of 
machines (ro=.domain.com) then make sure this machine has the correct 
domain information.

Have a poke around in your /etc/dfs/dfstab on the server. Try also 
unmounting it and manually mounting it somewhere else.

Hope that helps

Kelly.

Kelly Ormsby BSc(Curtin)
and then:
           From: 
Kelly Ormsby
<kelly@watri.org.au>
             To: 
Pablo Jejcic
<pablo.jejcic@smartweb.rgu.ac.uk>
        Subject: 
Re: NIS/Automountd
           Date: 
Fri, 16 Jul 2004
09:23:31 +0800

ok that looks fine the next thing to check is that the machine that is 
sharing them out can resolve that hostname. I presume that the dns is 
right and you might want to add it temporarily into the local 
/etc/hosts file just to be certain.

Is there anything relevant in the /var/adm/messages file? The other 
thing might be that the user you are trying to access the share from is 
not in the NIS tables or the machine is not receiving the nis 
information properly. check your /etc/nsswitch.conf file and make sure 
that it is set up for nis.

Kelly Ormsby BSc(Curtin)

     From: 
Hung-Sheng
Tsao
<hst1@nyu.edu>
       To: 
Pablo Jejcic
<pablo.jejcic@smartweb.rgu.ac.uk>
  Subject: 
Re:
NIS/Automountd
     Date: 
Wed, 14 Jul
2004
19:53:03
-0400


one possibility is automount at client

try cd /bet/server/export/local
where server is the server name that export the system

hung-sheng tsao

----- Original Message -----
From: Pablo Jejcic <pablo.jejcic@smartweb.rgu.ac.uk>
Date: Wednesday, July 14, 2004 9:45 am
Subject: Re: NIS/Automountd

> Hung-Shen,
>       Thanks for your email.
> 
> > 1)what is your share look like (/etyc/dfs/dfstab)
> 
> share -F nfs -o rw=scmsclients,root=<more machine> /export/local
> 
> > 2)unless you share to allow root access, in gereral root  is not 
> aloow to access the share file
> > hung-sheng tsao
> > 
> 
> The problem is that I can't access it with a standard user neither.
> 
> Thanks for any other lead...
> 
> Pablo.-


     From: 
Manchikanti,
Kalyan
<KManchikanti@tribune.com>
       To: 
Pablo Jejcic
<pablo.jejcic@smartweb.rgu.ac.uk>
  Subject: 
RE:
NIS/Automountd
     Date: 
Wed, 14 Jul
2004
08:03:52
-0500

Check the following,

(1).The client trying to mount /usr/local must be in NIS.
(2). Is /usr/local  NFS or autmount? In either case check whether the
NFS client process is running and also whether the autmount daemon is
running.
(3). Check is there were any restrictions on the share /usr/local to be
mounted only on specific clients.
(4). Last but not the least check the /etc/nssswitch.conf file on your
client and make sure you are using files and nis for automount.


hth,
Kalyan

Thanks again to everyone!


-- 
Pablo Jejcic
Senior System Administrator
http://www.smartweb.rgu.ac.uk/~pjejcic
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jul 16 06:33:47 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:35 EST