Mac OS X Installation Procedure
To setup NIS service type following as root:
rpcinfo -p
If the portmapper is not running, you'll get the message
rpcinfo: can't contact portmapper: RPC: remote system error - Connection refused
To fix that type:
sudo launchctl start com.apple.portmap
Repeat check, you should see something like:
program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper
Type following:
sudo domainname CCCHP sudo ypbind ypwhich