LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-13-2006, 11:29 PM   #1
tgo
Member
 
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 http://linux-nis.org/nis-howto/HOWTO/verification.html and the "managing nis and nfs" by orielly and it said to test the configuration do:

Quote:
% ypcat passwd
which gave me the error

Quote:
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 )

Quote:
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 192.168.1.103 ( debian's internal ip ) and it worked fine.

I have my ypservers set to
Code:
debian:/var/yp# cat ypservers   
localhost
192.168.1.103
debian.dynamicblack.com
debian:/var/yp#
And on the client I have
Code:
root@darkstar:/# cat /etc/yp.conf 
ypserver 192.168.1.103
domain no.cox.net broadcast
Basiclly I just need to be able to tell the clients the proper nis server.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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