From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96210381122524.tru64-unix-managers.marc@archive.invalid> From: =?iso-8859-1?Q?=22Lindstr=F6m=2C_Tony=22?= Date: Tue, 27 Jun 2000 11:02:47 +0000 To: tru64-unix-managers Subject: Summary... and more questions.: (Was: yppasswd, X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96210381122524 >=20 > Hi,=20 >=20 > I browsed through the mail-list archive, but didn't find > any answers to this. (Only questions...:-) >=20 >=20 > As you know the DU yppasswd always ask for the old > password even though I am on the Master server when > I run this as root for a user. >=20 > I don't like this behaviour. This means, that I can't > make samba sync the passwords.=20 >=20 > Is there a replacement or something else that would > make it possible to only set the new passord without > having to tell the old one. Dieter Meinert suggested to try anlpasswd which is based on perl. I tried and it sort of works. But only if the password in the nis-passwdfile is empty. If there is a existing password it hits me with: blah root / > yppasswd tester Getting the user entry for tester. Changing password entry for tester on yp server New password:=20 (Checking for lousy passwords...) Retype new passwd:=20 Password update on server not possible at this time. Failure: callrpc failed: why=3D7 Try again later.=20 why=3D7 seems to be an "authentication problem". So it seems like the DU-alpha nis insists in getting the old password first whatever you use.=20 Do I really have to make a script "kludgeyppasswd" which first empties the password-field in passwd, to make this work? =20 > I tried to compile the yp-tools-2.4 mainly developed for > linux, but it doesn't compile: Or should I degrade the DU nis-master to a nis-slave and make our linux nis-slave a master? --=20 Tony Lindstr=F6m - System Specialist - Tekla Oyj Koronakatu 1 - 02210 Espoo - Finland =20 http://www.tekla.com - +358-40-7620768