Fwd: Problems with NIS on RedHat Enterprise 5.3 system.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Begin forwarded message:

From: Margaret Doll <Margaret_Doll@xxxxxxxxx>
Date: March 16, 2009 4:10:23 PM EDT
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Subject: Problems with NIS on RedHat Enterprise 5.3  system.
Reply-To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx >

I need documentation  on NIS client for an RH Enterprise 5.3 system.
Also please send any suggestions as to what we have misconfigured on our client.

We have a 2.6.18-128.1.1.el5xen system on which we are trying to configure NIS client software.
Our NIS server is a Solaris system running  SunOS 5.8.

I changed the active contents of /etc/nsswitch.conf to

	# /etc/nsswitch.conf
	passwd: files nis
	shadow: files nis
	group: files nis
	hosts: files nisplus nis dns
	bootparams: nis files
	services: files networks:
	 files protocols: files
	rpc: files
	ethers: files
	netmasks: files
	netgroup: nisplus
	bootparams: nisplus [NOTFOUND=return] files
	publickey: nisplus
	automount: files
	aliases: files nisplus


I changed the active contents of /etc/yp.conf to

ypserver ourserversname
domain ourdomainname

/etc/sysconfig/network contains

NETWORKING_IPV6=no
HOSTNAME=client.dept.brown.edu
NETWORKING=yes
GATEWAY=128.148.nnn.1
NISDOMAIN=ourdomainname


"ypbind" works.  However when it is running the network seems slower.
"ypcat -k passwd" works, but I can't log into the client system with my account which is on the server.

I changed /etc/nsswitch to
passwd:     compat
group:      compat

hosts:      nis files dns

services:   nis [NOTFOUND=return] files
networks:   nis [NOTFOUND=return] files
protocols:  nis [NOTFOUND=return] files
rpc:        nis [NOTFOUND=return] files
ethers:     nis [NOTFOUND=return] files
netmasks:   nis [NOTFOUND=return] files
netgroup:   nis
bootparams: nis [NOTFOUND=return] files
publickey:  nis [NOTFOUND=return] files
automount:  files
aliases:    nis [NOTFOUND=return] files

I restarted network and then executed ypbind. I still cannot log into the client using one of the yp accounts on the server. Permission denied.







--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux