linux server: leif

solaris client: sisu

export the shares on leif to sisu and then exportfs -r

add an entry in /etc/hosts.allow on leif

on sisu modify the file /etc/auto_master and add the line

/- auto_direct

in /etc/auto_direct add lines like

/home -rw leif:/home

reboot and celebrate

if that is working its now time to set up nis to get remote logins

first set up the domainname in /etc/defaultdomain and use the domainname tool to set it

Create a directory named /var/yp/binding/domain

3. If you want the NIS client to broadcast for a NIS server (note: there must be a NIS server on your subnet), start NIS with /usr/lib/netsvc/yp/ypstart. If you want to manually specify one or more NIS server(s) to use, run ypinit -c and then /usr/lib/netsvc/yp/ypstart. Note that each manually specified NIS server must have an entry in /etc/hosts.

4. Modify the name service switch file (/etc/nsswitch.conf) to use the NIS databases. You may want to copy /etc/nsswitch.nis over /etc/nsswitch.conf. Make sure to modify the “hosts:” line in /etc/nsswitch.conf if you want to use DNS for hostname resolution:

ref: http://www.brandonhutchinson.com/Solaris_NIS_configuration.html