[5332] in RedHat Linux List
Re: YP not working! ARGH!
daemon@ATHENA.MIT.EDU (Monty Walls)
Wed Nov 20 18:03:53 1996
Date: Wed, 20 Nov 1996 17:02:28 -0600 (CST)
From: Monty Walls <mwalls@castor.oktax.state.ok.us>
To: redhat-list@redhat.com
CC: mrizzo@origin.ea.com
In-Reply-To: <c=US%a=_%p=EA%l=MOLACH-961120223902Z-5397@molach.origin.ea.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
I just finished going through what you're having with YP, you really don't need
ypbind, if you're setup right.
Make sure you have (examples of mine are enclosed):
(on both clients & server)
/etc/yp.conf -
#
# yp.conf
#
domainname nis.oktax.state.ok.us
server 204.87.113.10
ypserver 204.87.113.10
(on server)
/etc/hosts.allow
#
# remember should not use dns names for nis servers
#
ypserv: 127.0.0.1, 204.87.113., 204.87.114. 204.87.69.
(on server)
/etc/nsswitch.conf
passwd: files nis
shadow: files nis
group: nis files
hosts: files dns
services: nis [NOTFOUND=return] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
----
After this you should be able to do a 'ypcat passwd'
After you get it running check and see if ypserv is as big a pig as
mine seems (30% cpu on a 486dx2-66 with 200 pop users).
-Monty Walls (mwalls@castor.oktax.state.ok.us)
- MIS(Technical Supt), Oklahoma Tax Commission
-
- My opinions are my own, my employer knows nothing about it.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null