LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-23-2005, 05:48 PM   #1
rclancy
LQ Newbie
 
Registered: Feb 2005
Location: Vancouver, Canada
Distribution: Slackware 10.1
Posts: 9

Rep: Reputation: 0
Slave can't bind with running NIS server


I have set up an NIS server and one slave behind a LinkSys firewall with a network address of 192.168.1.0. The network is functioning properly. My aim is to have the users on the slave access the printer and other resources through the server. Because their user and group IDs are different on each machine, I am trying to set up NIS.

I have used the Slackware-NIS-mini-HOWTO and followed the instructions to the letter -- and have gone through it over and over again. I have also read two other resources on NIS.

PROBLEM

On the slave, 'ypcat passwd.byname' yields: No such map passwd.byname. Reason: Can't bind to server which serves this domain.

TESTS
1) I can ping the server from the the slave, and vice versa.

2) On the server, 'rcpinfo -u rpcinfo -u serverhost ypserv yields the response
program 100004 version 2 ready and waiting

3) On the slave, rpcinfo -u slavehost ypbind yields the response program 100007 version 2 ready and waiting

4) /usr/lib/yp/ypinit -m cause the /var/yp/Makefile to initialize without errors from what I can see. The only output I wonder about is that the password output which is:

Updating shadow.byname... Ignored -> merged with passwd.

I have been assuming that this output is not out of line

5) When using nfs by itself I can mount one machine from another and read and write as root, but not as user, hence my attempts to configure NIS.

THE EXPORT
Here is my /etc/exports:
#
/export (rw,no_root_squash)
#
--------------

My home directories are on a separate partition on both server and slave. On each machine the home directories mount on /export/home at boot time so that everything should appear seamless when it is set up. This arrangement is suggested in the HOWTO as are the contents of the following files:

Here is /etc/auto.master
#
/export auto.export --timeout 60
#
End of auto.master

Here is /etc/auto.export
#
home -fstype=nfs silenus:/export/home
#
End of auto.export

Because of the positive tests above, I must very close to a solution. Can someone point out what I might be missing?



Last edited by rclancy; 02-23-2005 at 06:11 PM.
 
  


Reply



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
Setting Up An NIS Slave Server kaplan71 Fedora 0 07-14-2005 03:58 PM
solaris nis and suse slave jayfoo Linux - Networking 0 09-26-2004 11:04 PM
Nis master and slave servers on diff architecture breenbaron Linux - Networking 0 07-25-2004 09:34 AM
how to join NIS server (SUN machine) to Linux NIS server? KoRiR Linux - Networking 3 04-28-2004 01:19 PM
NIS Solaris 8 (MASTER) ---> RH9 NIS (Slave) Help x86br Linux - Networking 4 05-12-2003 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06: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