|
solaris nis server and linux nis client configuration
Sir
i have configured fresh solaris (machine name suns) as nis server
# useradd -d /export/home/soumalya -m -s /usr/bin/ksh soumalya
# cp /etc/nsswitch.nis /etc/nsswitch.conf
# domainname suns.com
# domainname > /etc/defaultdomain
# cd /etc
# touch ethers bootparams locale timezone netgroup netmasks
# ypinit -m
next host to add: suns
next host to add:
<ctrl-d>
The current list of yp servers looks like this: suns
Is this correct? [y/n: y] y -- Output skipped -- Do you want this procedure to quit on non-fatal errors? [y/n: n] n
# svcs nis/server
# cd /var/yp # /usr/ccs/bin/make
linux (machine name red)nis client
# nisdomainname suns
# ypserv 192.168.101.100
# vi /etc/yp.conf
domain test server 192.168.101.100
# authconfig
select NIS
next
NIS Domain:suns
NIS Server:192.168.101.100
after this Listening NIS Domain failed.
can u pls tell me why??????????
help me pls
thanks in advance
|