LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NIS Prob!!! (https://www.linuxquestions.org/questions/linux-networking-3/nis-prob-41919/)

hitesh_linux 01-18-2003 07:58 AM

NIS Prob!!!
 
Hello Friends,

I had Setup NIS server and NIs client,but still problem,

here is what i had setup,

1)in /etc/init.d/network file,

domainname minix(domain name)
--------------------------------------
2)in /etc/yp.conf

domain minix server bluetooth(server name)

domain minix boardcast

ypserver bluetooth
---------------------------------------
then i type ypbind it started sucssfully,
and also create minix directory in /var/yp/minix

and also type ypserv it's work nice.

but when i give this ypwhich,

error:can't yp-bind:reason:Domain not found.
----------------------------------------
At booting time it show like,

binding to the NIS domain [ok]
listeing for an NIs domain server.................[FAILED]

starting yp server service [ok]
starting yp passwd services [ok]

now quest:

1)is their any more configuration require to setup NIS server and client.?

2) and tell me what important confi. should i have to do to client side and what to server side.


3) give some good web link for NIS(server and client)

4) i had setup same configuration on both system.(with server and client)
should i have to some diferent config. on client.????
or server side.????


Help me ???

Hitesh

trickykid 01-18-2003 09:28 AM

Not sure if this might help or apply but do you have the domain's listed in your /etc/hosts file ? If your trying to connect to any computer by name and not IP address, you'll want to add those hosts to that file.

hitesh_linux 01-18-2003 09:35 AM

Hi,
I had tried but still same problem,

HELP

trickykid 01-18-2003 10:58 AM

So your certain all the necessary services are running on the Server end ? Can this machine see the server at all ? It seems to fail when attempting to bind to the server in this case.

c4_4ya 01-18-2003 05:54 PM

Make sure you properly configure your /etc/nsswitch.conf => see the man page for nsswitch.conf. I recently connected my RH7.3 client to a NIS domain running on Slackware 8.1. The nsswitch file on Redhat was trying to use 'nisplus', so I changed these entries to use nis. Reply if you want me to post example..


All times are GMT -5. The time now is 10:05 PM.