Its about six lines of Code. RadiusNT -E will do it.
At the very botttom of AuthPapPwd:
else if(encrypt_pass & 1 )
{
if(check_encrypt_pass(string, authInfo->chkPwd->strvalue) == 1)
result = 0;
}
else ifstrcmp(authInfo->chkPwd->strvalue, string) == 0) &&
(compare_sens==1)
result = 0;
return result;
I can't remember whethere check_encrypt_pass is in the code. here is
is, though:
/*************************************************************************
*
* Function: check_encrypt_pass
*
* Purpose: Check the users password against the encrypted password from
* the user list.
*
*************************************************************************/
int check_encrypt_pass(char *passwd, char *epasswd)
{
char *crypt(char *, char *);
char *encpw;
/* Run encryption algorythm */
encpw = crypt((char *)passwd, (char *)epasswd);
if(debug_flag & DEBUG_USER)
printf("(UNIX) User Password: %s File Password: %s Encrypted
Password: %s\n", passwd, epasswd, encpw);
/* Check it */
if(strcmp(encpw, epasswd)==0)
return 1;
else
return UNIX_BAD_PASSWORD;
return UNIX_GETPWNAME_ERR;
}
-- Dale E. Reed Jr. (daler@iea.com) _____________________________________________________________________ Internet Engineering Associates | RadiusNT, Emerald, and NT FAQs Internet Solutions for Today | http://www.emerald.iea.com