tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: nm <nmanisca () vt ! edu>
To: tru64-unix-managers
Subject: UPDATED SUMMARY (with patch): wu-ftpd wont authenticate users
Date: Tue, 14 Sep 1999 01:58:21 +0000	[thread overview]
Message-ID: <96079072816070.tru64-unix-managers.marc@archive.invalid> (raw)

[-- 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)--

                 reply	other threads:[~1999-09-14  1:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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