Hi,

I've searched the net but have been unable to find any answers -
apologies if this question is misdirected, but I'm stuck.

I have a box running what seems to be a very broken version of RedHat
5.2/AXP.  It is acting as a NIS server, and contains the following:

/etc/auto.master:
/misc   /etc/auto.misc  --timeout 60
/home   /etc/auto.home  --timeout 60
/net    /etc/auto.net   --timeout 60

/etc/auto.home:
*               -fstype=auto,soft,intr  spanky:/home/&

/etc/exports:
/home                   192.168.68.0/255.255.255.0(rw) *.aet-usa.com(rw)


The client machine is running Debian/i386 unstable.

llama:~# ypcat auto.home
-fstype=auto,soft,intr  spanky:/home/&

llama:~# /etc/init.d/autofs status 
Configured Mount Points:
------------------------
/usr/sbin/automount /home yp /etc/auto.home  
/usr/sbin/automount /net yp /etc/auto.net  
/usr/sbin/automount /misc yp /etc/auto.misc  

Active Mount Points:
--------------------
/usr/sbin/automount /home yp /etc/auto.home
/usr/sbin/automount /net yp /etc/auto.net
/usr/sbin/automount /misc yp /etc/auto.misc

llama:~# ls -la /home/ccurtis
ls: /home/ccurtis: No such file or directory

llama:~# tail -30 /var/log/syslog
[...]
May  2 15:53:18 llama automount[1503]: starting automounter version
3.1.4, path = /home, maptype = yp, mapname = /etc/auto.home
May  2 15:53:18 llama automount[1503]: Map argc = 1
May  2 15:53:18 llama automount[1503]: Map argv[0] = /etc/auto.home
May  2 15:53:18 llama automount[1503]: using kernel protocol version 3
May  2 15:53:19 llama automount[1526]: starting automounter version
3.1.4, path = /net, maptype = yp, mapname = /etc/auto.net
May  2 15:53:19 llama automount[1526]: Map argc = 1
May  2 15:53:19 llama automount[1526]: Map argv[0] = /etc/auto.net
May  2 15:53:19 llama automount[1526]: using kernel protocol version 3
May  2 15:53:19 llama automount[1546]: starting automounter version
3.1.4, path = /misc, maptype = yp, mapname = /etc/auto.misc
May  2 15:53:19 llama automount[1546]: Map argc = 1
May  2 15:53:19 llama automount[1546]: Map argv[0] = /etc/auto.misc
May  2 15:53:19 llama automount[1546]: using kernel protocol version 3
May  2 15:53:55 llama automount[1503]: attempting to mount entry
/home/ccurtis
May  2 15:53:55 llama automount[1604]: lookup(yp): looking up ccurtis
May  2 15:53:55 llama automount[1604]: lookup(yp): lookup for ccurtis
failed: No such map in server's domain

llama:~# /etc/init.d/autofs stop
Stopping automounter.

llama:~# mount spanky:/home /home

llama:~# ls -1 /home/ccurtis | wc
    109     109    1196


>From all the documentation I've read, I'm doing things correctly.  The
/etc/auto.home and ypcat auto.home discrepencies can be "corrected" for
by placing a space before the "*", but the end result is the same. 
Likewise, replacing the "*" with "ccurtis" (same yp problem) or "
ccurtis" and changing the "&" to "ccurtis" results in the same error.

I haven't found anyone else with the problem or how to go about fixing
it.

Many thanks to anyone who can help,
Christopher

Reply via email to