Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 1997 14:41:10 -0500 (EST)
From:      Dylan Northrup <northrup@ucet.ufl.edu>
To:        freebsd-isp@freebsd.org
Subject:   NIS setup question
Message-ID:  <Pine.A41.3.96.971201140336.80406E-100000@ronell.ucet.ufl.edu>

next in thread | raw e-mail | index | archive | help
Ok, I've got my FreeBSD box ('kubrick' which is running 2.2.2 on a Pentium
Pro 200 with 128 Megs of RAM) set up as an NIS master server.  I've also got
a machine ('jms' which is running AIX 4.2) set up as a client machine. 
There are no slave servers.  The passwd file that I'm distributing via NIS
is not the master.passwd file for the server, but instead a version that
sits in /etc/nis.

The client is able to see the maps that are coming from the server. 
However, when I try to use yppasswd on the client, strange things happen. 
The NIS maps seem to reflect the change (i.e. logging into the client after
running yppasswd, I have to use the new password) but the original file is
not changed.  Also, when I run yppasswd, I get the following error messages.
. . 

Enter the new password again:
3004-622 An error occurred updating the password database.
3004-604 Your entry does not match the old password.
yppasswd: 1831-155 could not change passwd

Now, if I use yppasswd and give it the same password for the new password as
the old password, I get this...

Enter the new password again:
3004-622 An error occurred updating the password database.
northrup's New password: 
Enter the new password again:

And I put in the new password again, then it exits.

I'm using the following for my rpc.yppasswdd command...

	/usr/sbin/rpc.yppasswd -t /etc/nis/master.passwd -s -f

Anyone have any pointers on what I might be doing incorrectly?

--
Dylan Northrup <*> 
northrup@nwe.ufl.edu <*> 
http://web.nwe.ufl.edu/~northrup <*>

---------------
Random B5 Quote
"Curious.  We have the memories of your entire life to play with, but
  your thoughts are rooted here in this station.  It means a lot to you,
  doesn't it?"
  -- Knight Two, "And The Sky Full Of Stars"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A41.3.96.971201140336.80406E-100000>