Dear Developer,


i am facing some problem in using YP maps for autofs.  autofs recognises
the auto.master map, loads it and lists it properly.  however, when i
try to mount a filesystem/directory from the same auto.master, it says
that there is no such map in server's domain.  to make this description
more concrete, i am adding the details here:

1) directory /home/yphome is exported by a machine named clpc00.

2) auto.master map contains an entry for auto.home, which has the map
for mounting yphome.  all filesystems listed in auto.home are mounted in
/nis - just trying to avoind /home which exists on all systems.

3) auto.home asks the system to mount clpc00:/home/yphome as yphome, so
it should be mounted at /nis/yphome.  i have a softlink from
/home/yphome to /nis/yphome, as recommended in the autofs howto.


4) the error message in the /var/log/messages file is as follows:

Apr 30 11:45:29 clpc01 automount[265]: attempting to mount entry /nis/yphome
Apr 30 11:45:29 clpc01 automount[1402]: lookup(yp): looking up yphome
Apr 30 11:45:29 clpc01 automount[1402]: lookup(yp): lookup for yphome failed: No such 
map in server's domain


5) the output of the command "/sbin/init.d/autofs status " is

Checking for service autofs: OK
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout 60 /misc file /etc/auto.misc  
/usr/sbin/automount --timeout 60  /nis yp /var/yp/maps/auto.home  

Active Mount Points:
--------------------
/usr/sbin/automount --timeout 60 /misc file /etc/auto
/usr/sbin/automount --timeout 60 /nis yp /var/yp/maps


6) the output of "ypcat -k auto.home"

yphome -rw,hard,intr            clpc00:/home/yphome


7) the output of "ypcat -k auto.master"

/nis /var/yp/maps/auto.home


8) i can mount the filesystem manually, as well as using a local autofs
map.


9) I am using SuSE linux 7.0 with kernel 2.2.16.


Please help.,

Jasjeet

Reply via email to