home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / admin / 5913 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.6 KB

  1. Xref: sparky comp.sys.sun.admin:5913 comp.unix.aix:9174
  2. Newsgroups: comp.sys.sun.admin,comp.unix.aix
  3. Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
  4. From: casper@fwi.uva.nl (Casper H.S. Dik)
  5. Subject: Re: RPC error using yppasswd
  6. Message-ID: <1992Aug28.075152.22732@fwi.uva.nl>
  7. Sender: news@fwi.uva.nl
  8. Nntp-Posting-Host: adam.fwi.uva.nl
  9. Organization: FWI, University of Amsterdam
  10. References: <1992Aug26.094155.526@idiws1.idi.battelle.org>
  11. Date: Fri, 28 Aug 1992 07:51:52 GMT
  12. Lines: 35
  13.  
  14. newsmgr@idiws1.idi.battelle.org writes:
  15.  
  16. >Hello, we have a NIS/NFS setup with a Sun workstation running 4.1.2 as 
  17. >the NIS server.
  18.  
  19. >A user on a Rs6000 running AIX v3.2 with cumlative patch tape of 9 Aug installed
  20. >attempts a yyppasswd:
  21.  
  22. >% yppasswd
  23. >Changing NIS password for willie
  24. >Old NIS password:
  25. >New password:
  26. >Retype new password:
  27. >RPC: Server can't decode arguments
  28. >couldn't change passwd
  29.  
  30. >What does that RPC error mean? At the time the Sun system was slow due to 
  31. >heavy load I could do a yyppasswd with my own account.
  32.  
  33. >Thanks!
  34.  
  35. If it happens every time this particular user uses yppasswd, it
  36. is probaly due to a bug in rpc.yppasswdd. It uses a function to
  37. check the length and validity of the arguments. For the gecos and
  38. shell fields, it is obvious they have a maximum length and a restricted
  39. character set. The stupid thing is that the cleartext old password which
  40. is also transmitted as a check, is also checked against similar restrictions.
  41.  
  42. My guess is that this user has a current password with control characters
  43. or a ':' in it. Locally, I've nop'ped out this test on the old password.
  44.  
  45. Casper
  46. -- 
  47.                         |    Casper H.S. Dik
  48.                         |    casper@fwi.uva.nl
  49.