TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:7728] autofs is fustrating me



Quoting Unni Nambiar (unambiar@Legato.COM):
> I'm not sure, but i think the ypcat output is okay. By default, ypcat shows
> the mapping but not the key.  Try 'ypcat -k auto.home'.  I'm speaking from a
> solaris pov, so i hope there is a '-k' (linux box is at home).

Ah, the -k works. It should the key now. Thanks.

> I don't know whats causing the error, but here's a question.  You say you
> have /etc/auto_master on the server.  But shouldn't the client also have a
> /etc/auto_master ?  The automountd running on the client reads this table to
> decide what automounts to service.  In case of nis based automounts, the
> clients /etc/auto_master should have a line '+auto_master' which is like a
> '#include' for the auto_master file indicating that the nis server's
> automount tables apply.

When I start autofs, I get the follow syslog message:

automount: starting automounter version 3.1.3, path = /home, maptype = yp, mapname = /etc/auto.home

So, it looks like autofs us getting the auto.home map from nis. If I create an
/etc/auto.master, then autofs will not look at the nis maps at all.

# cat /etc/auto.master
+auto.master

# /etc/rc.d/init.d/autofs status
Configured Mount Points:

Active Mount Points:

autofs is not managing any mount points. I think there is a bug somewhere. :-)



> 
> Just thinking out loud.  Hope this helps.
> 
> -Unni
> 
> > -----Original Message-----
> > From: Bob Tanner [mailto:tanner@real-time.com]
> > Sent: Thursday, August 19, 1999 10:02 PM
> > To: tclug-list@mn-linux.org
> > Subject: [TCLUG:7728] autofs is fustrating me
> > 
> > 
> > I am having a terrible time getting autofs on RH 6.0 to work 
> > correctly. 
> > Using either nis for maps OR files for maps.
> > 
> > On the "server"  have:
> > 
> > /etc/auto.master
> > 
> > /staff  /etc/auto.home  --timeout 600
> > 
> > /etc/auto.home
> > *       -soft,intr      king:/home/&
> > 
> > On the "client" I do this:
> > 
> > ypcat auto.home and I get this:
> > -soft,intr	king:/home/&
> > 
> > Um, shouldn't I get :
> > *       -soft,intr      king:/home/&
> > 
> > Of course when I do a cd /staff/user, I get this in syslog:
> > automount: attempting to mount entry /staff/user
> > automount: lookup(yp): lookup for user failed: No such map in 
> > server's domain
> > 
> > Any ideas?
> > 
> > 
> > -- 
> > Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
> > http://www.real-time.com                | Fax   : (612)943-8500
> > Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> > For additional commands, e-mail: tclug-list-help@mn-linux.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org

-- 
Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9