SUMMARY: NIS: users can't change passwd

From: Mahendra Vallabh (Mike) <"Mahendra>
Date: Mon, 10 Jun 96 11:55:03 +1200

Hi all,
Apologies for the late summary.
The original question:

> Some of my users are unable to change their NIS passwd.
> They get the following error.
>
> optico:[19]~>yppasswd
> Changing NIS password for jgwr
> Old NIS password:
> New password:
> Retype new password:
> RPC: Server can't decode arguments


Murat Balci hit the answer write on the head:
  This occurs usually when a special local character used in passwd.
  edit /var/yp/src/passwd adn delete passwd of that user and cd .. ; make passwd
  Then change the passwd.

Believe it or not, I found that if my passwd contains a ``:'' (colon) then
yppasswd will always fail with the following error:

   RPC: Server can't decode arguments

I believe this to be a bug in the argument parsing of the arguments that
get sent from yppasswd to yppasswdd (daemon).

My users can now happily change their passwds once again.

Thanks to:
Murat Balci
Jon Buchanan, Zuerich, Switzerland
Knut Helleboe
Received on Mon Jun 10 1996 - 02:06:20 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT