>> >Hello, i'm in solaris 2.6 using NIS+
>> >When i type :
>> >#ls /net
>> >The answer list all hosts in hosts table
>> The thought crossed my mind that using DNS, ls /net
>> should list all the machines in the world... :-)
>> --
>> Andrew Gabriel
>> Consultant Software Engineer
>That is not the case - it appears to list machines in the local domain
>(whatever you have defined in resolv.conf).
The problem is the 2.6 -nobrowse switch in your /etc/auto_master file
has not been propagated to the NIS+ auto_master.org_dir table. Make it
so (niscat auto_master.org_dir looks like your /etc/auto_master file)
and "ls /net" will do what you want.
Although "files" comes before "nisplus" in the default /etc/nsswitch.nisplus
file, the /etc/auto_master file has "+auto_master" first so it goes to NIS+
anyway (and thus does not see the "-nobrowse" options for /net and /home).
=wpm William P. Malloy