>
> Hi,
>
> I browsed through the mail-list archive, but didn't find
> any answers to this. (Only questions...:-)
>
>
> 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.
>
> I don't like this behaviour. This means, that I can't
> make samba sync the passwords.
>
> 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:
(Checking for lousy passwords...)
Retype new passwd:
Password update on server not possible at this time. Failure: callrpc
failed: why=7
Try again later.
why=7 seems to be an "authentication problem".
So it seems like the DU-alpha nis insists in getting the
old password first whatever you use.
Do I really have to make a script "kludgeyppasswd" which first
empties the password-field in passwd, to make this work?
> 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?
--
Tony Lindström - System Specialist - Tekla Oyj
Koronakatu 1 - 02210 Espoo - Finland
http://www.tekla.com - +358-40-7620768
Received on Tue Jun 27 2000 - 11:04:09 NZST