Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-13-2006, 11:29 PM   #1
Registered: Dec 2004
Posts: 125

Rep: Reputation: 15
quick nis question

I wondering where/how to set the default nis server for clients. Heres what I did:

I installed nis following and the "managing nis and nfs" by orielly and it said to test the configuration do:

% ypcat passwd
which gave me the error

debian:/var/yp# ypcat passwd
No such map passwd.byname. Reason: Can't bind to server which serves this domain
So i did ( Remember debian is the master )

debian:/var/yp# ypcat -h localhost passwd
And it worked perfect. So i figured that this must be an issue with the server. I installed the client on slackware and got same exact issue, so i added -h ( debian's internal ip ) and it worked fine.

I have my ypservers set to
debian:/var/yp# cat ypservers   
And on the client I have
root@darkstar:/# cat /etc/yp.conf 
domain broadcast
Basiclly I just need to be able to tell the clients the proper nis server.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about NIS iammike Solaris / OpenSolaris 3 06-26-2005 02:14 PM
NIS question~ ]un]ie Solaris / OpenSolaris 1 07-30-2004 12:06 PM
NIS question pfaendtner Linux - Networking 3 07-28-2004 10:05 AM
NIS Question jayakrishnan Linux - Networking 14 08-08-2002 11:43 AM
NIS Question jayakrishnan Linux - General 3 05-27-2002 06:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration