Bug 3197

Summary: nis bugs
Product: [Retired] Red Hat Linux Reporter: aapuch
Component: ypservAssignee: Jay Turner <jturner>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-01 20:51:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description aapuch 1999-06-01 20:02:48 UTC
here is my set up
rpc.yppasswdd --debug
rpc.yppasswdd - NYS YP server version 1.3.6.91 (with
CHECKROOT)
rpc.yppasswdd already running (pid 2652) - exiting
[root@nis yp]# kill -9 2652
[root@nis yp]# rpc.yppasswdd --debug
rpc.yppasswdd - NYS YP server version 1.3.6.91 (with
CHECKROOT)

[1]+  Stopped                 rpc.yppasswdd --debug
[root@nis yp]# bg
[1]+ rpc.yppasswdd --debug &
[root@nis yp]# yppasswd
yppasswd: can't find the master ypserver: Can't bind to
server which serves this domain

Is there some thing I am missing ??

also if I change the passwd on a user

passwd just x out the password !!!


this is not good !!!

I am done playing with the nis stuff,

I am going to hesiod and kerb !!!

Comment 1 Jeff Johnson 1999-06-01 20:51:59 UTC
There are several problems that have been fixed in yppasswd. Try
ypserv-1.3.6.94 or later for those fixes.

However, you probably need to configure your yp server correctly. That
requires doing at least
	domainname whatever	# make sure your domain is correct
	pwconv			# use shadow passwords
	grpconv			# and convert /etc/group too
	cd /var/yp		# update all the maps
	make
	edit /etc/yp.conf	# to identify the server and domain
	/etc/rc.d/init.d/ypserv	start	# start the server
	/etc/rc.d/init.d/ypbind start	# start the client
	... the ypbind client should find the yopserv server here ...
	/etc/rc.d/init.d/yppasswd start	# start the ypppasswd server