Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 1995 10:47:52 -0700
From:      Bill Paul <wpaul>
To:        CVS-commiters, cvs-usrbin
Subject:   cvs commit: src/usr.bin/passwd yp_passwd.c
Message-ID:  <199506241747.KAA18854@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
wpaul       95/06/24 10:47:52

  Modified:    usr.bin/passwd  yp_passwd.c
  Log:
  getnewyppasswd() in yp_passwd.c doesn't generate correct encrypted
  password strings when DES isn't used; somehow the encrypted password
  is corrupted and it winds up containing control chars, which yppasswdd
  subsequently rejects. This breaks yppasswd on non-DES FreeBSD systems
  using NIS.
  
  Fix: scrap getnewyppasswd() entirely and use getnewpasswd() from
  local_password.c, since it already works properly and is virtually
  identical to getnewyppasswd() anyway. (Wish I'd noticed this sooner.)
  
  This fixes a problem just reported on comp.unix.bsd.freebsd.misc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506241747.KAA18854>