Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to NIS

Status
Not open for further replies.

jayvo

MIS
May 24, 2001
27
US
I am very new to NIS. Can someone help me get a server added to our domain. We have a machine running Solaris7 as an NIS master and i have just installed Solaris8 on an Intel box. i want to make it part of our NIS environment and have added the necessary info thus far such as edits to resolv.conf, hosts, defaultdomain, etc. What else do i need to do. I know it has something to do with yppasswd and ypbind. We did do something but now i get
"Could not chdir to home directory /home/name: No such file or directory"

what did i do wrong and does anyone have some steps to NIS administration. Thanks!!!

jayvo
 
Of course you can make your new intel box a part of your NIS environment by configuring it a NIS client ( ypinit -c)As it seems there is already a master server in your domain so you can't add any more master server in the same domain.But you can still configure your m/c as slave server which keeps the replication of maps from the master server.
Please note you don't need /etc/resolve.conf file.That is ment for dns client.For Nis env you need to
1)create /etc/defaultdomain file with your domain name.
2)cp /etc/nsswitch.nis /etc/nsswitch.conf
3)ypinit -c (here you have to mention the server name)
4)dont forget to update the /etc/hosts file in your server
put your clients ip and hostname.

these all should able you to bind with your server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top