David Walser wrote: > Problem: > Even if you don't have nis in the automount: line in > /etc/nsswitch.conf, automount uses NIS.
This is standard behavior. (NIS on Solaris and other Unix's do this) This way one can have a nis server export an auto.master file so one doesn't have to modify every client machine on the network when a change to the auto.master file happens. If your nis server does not export an auto.master file then you won't have a problem. If it does, but you need a different auto.master file for your autofs on linux, then remove nis and nisplus from nsswitch.conf. Autofs will still work with nis/nisplus/yp maps but it will not autoload the auto.master from your nis server. This should not be changed, then nis on linux would be further different from other unix's. > Reason: > in /etc/init.d/autofs function getrawmounts() on line > 121 you see: > nis*|yp) > > which doesn't distinguish between nis and nisplus > (script is probably being lazy, because later when it > does the ypcat, it doesn't make a difference). I'm > not sure what you could do to tell whether you're > connected to NIS or NIS+, but if there's something, > the script should do that and be smarter about what it > does. > > Since you (Juan) probably didn't write this script, if > you want me to report this somewhere else, just let me know. > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com -- Bryan Whitehead SysAdmin - JPL - Interferometry Systems and Technology Phone: 818 354 2903 [EMAIL PROTECTED]
