Ed Breen wrote: > Larry Liu wrote: > > > not aware how you configured your NIS server(s) and > > client. in my case, on client side, i deleted clients > > local auot.master, then automount works perfectly > > according to the way you configure your NIS server(s). > > You shouldn't have to do this. This means that local machines can't have > local settings! > In my opinion: > > According to the man page for autofs: > > autofs will consult a configuration file /etc/auto.master > (see auto.master(5)) to find mount points on the system. > For each of those mount points a automount(8) process is > started with the appropriate parameters. You can check the > active mount points for the automounter with the > /etc/init.d/autofs status command. After the auto.master > configuration file is processed the autofs script will > check for an NIS map with the same name. If such a map > exists then that map will be processed in the same way as > the auto.master map. The NIS map will be processed last. > Wouldn't it be a good idea to add an entry to the /etc/nsswitch.conf or to use the "automount:" entry to decide where the auto.master table(s) is(are) found? In this case you can freely configure local and global settings for every machine. By the way: what if I want to use NIS+ or LDAP instead of YP? For example, someone (like me) has already configured NIS+ for his Solaris WS and needs to integrate some Linux machines. For this reason I used to change the autofs init script according to my needs. It works but seems to be a dirty solution at this time. dirk maa�
