tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* UPDATED SUMMARY (with patch): wu-ftpd wont authenticate users
@ 1999-09-14  1:58 nm
  0 siblings, 0 replies; only message in thread
From: nm @ 1999-09-14  1:58 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--Boundary_(ID_9c0pHSDYaJDOODWBb+5UWw)", Size: 1724 bytes --]


--Boundary_(ID_9c0pHSDYaJDOODWBb+5UWw)
Content-type: text/plain; charset=us-ascii

Well I goofed.  I forgot to attach the c2.patch to the summary
I sent out to the list.  Here it is.

Also, please note wu-ftpd can be found at ftp://ftp.wu-ftpd.org
I would also suggest browsing thru http://www.wu-ftpd.org

--
Nick Maniscalco

--Boundary_(ID_9c0pHSDYaJDOODWBb+5UWw)
Content-type: text/plain; NAME=c2.patch; charset=iso-8859-1
Content-disposition: attachment; filename=c2.patch
Content-transfer-encoding: quoted-printable

Index: src/ftpd.c
*** src/ftpd.c	Mon Sep 13 11:53:08 1999
--- src/ftpd.c	Mon Sep 13 11:50:07 1999
***************
*** 2383,2398 ****
  #ifndef OPIE
  	  salt =3D pw->pw_passwd;
  #ifdef SECUREOSF
! 	if ((pr =3D getprpwnam(pw->pw_name)) !=3D NULL) {
! 	    if (pr->uflg.fg_newcrypt)
! 		crypt_alg =3D pr->ufld.fd_newcrypt;
! 	    else if (pr->sflg.fg_newcrypt)
! 		crypt_alg =3D pr->sfld.fd_newcrypt;
! 	    else
! 		crypt_alg =3D 0;
! 	} else {
! 	    crypt_alg =3D 0;
! 	}
 =20
  	xpasswd =3D dispcrypt(passwd, salt, crypt_alg);
  #else
--- 2383,2394 ----
  #ifndef OPIE
  	  salt =3D pw->pw_passwd;
  #ifdef SECUREOSF
! 	if ((pr =3D getprpwnam(pw->pw_name)) !=3D NULL &&
! 	     pr->uflg.fg_oldcrypt && pr->ufld.fd_oldcrypt > 0 &&
! 	     pr->ufld.fd_oldcrypt < AUTH_CRYPT__MAX)
! 		crypt_alg =3D pr->ufld.fd_oldcrypt;
! 	else
! 		crypt_alg =3D AUTH_CRYPT_OLDCRYPT;     /* reasonable default? */
 =20
  	xpasswd =3D dispcrypt(passwd, salt, crypt_alg);
  #else
UTH_CRYPT__MAX)
! 		crypt_alg =3D pr->ufld.fd_oldcrypt;
! 	else
! 		crypt_alg =3D AUTH_CRYPT_OLDCRYPT;     /* reasonable default? */
 =20
  	xpasswd =3D dispcrypt(passwd, salt, crypt_alg);
  #else

--Boundary_(ID_9c0pHSDYaJDOODWBb+5UWw)--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-14  1:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-14  1:58 UPDATED SUMMARY (with patch): wu-ftpd wont authenticate users nm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox