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