Server configuration:
yum install ypserv
vi /etc/sysconfig/network
NISDOMAIN=RHCE
vi /var/yp/Makefile
MINUID=5001
MINGID=5001
mkdir /home/server
chmod 1777 /home/server
useradd -u 5001 -d /home/server/rhce100 rhce100
passwd rhce100
useradd -u 5002 -d /home/server/rhce200 rhce200
passwd rhce200
service ypserv start
service portmap restart
/usr/lib/yp/ypinit -m
service yppasswdd start
#run /usr/lib/yp/ypinit -m if new nis user Uid>500 created
or cd /var/yp
make
vi /etc/exports
/home/server *(ro,sync)
exportfs -a
chkconfig nfs on
Client configuration
system-config-authentication or authconfig-tui or setup
mkdir /home/server
vi /etc/auto.master
/home/server /etc/auto.home --timeout=60
vi /etc/auto.home
* ro, soft, intr 192.168.1.1:/home/server/&
service autofs restart
chkconfig autofs on
if /etc/auto.home won't work .try to modify /etc/auto.misc right away. that's my experience
don't know why.