Lines 418-424
void login_virtual_user()
Link Here
|
418 |
/* Check CRAM-MD5 auth */ |
418 |
/* Check CRAM-MD5 auth */ |
419 |
if(ConnType == SMTP_CONN) { |
419 |
if(ConnType == SMTP_CONN) { |
420 |
/* printf("vchkpw: smtp auth\n"); */ |
420 |
/* printf("vchkpw: smtp auth\n"); */ |
421 |
cramaccepted = authcram(ThePass,TheChallenge,vpw->pw_clear_passwd); |
421 |
/* Apparently there has been a mix-up somewhere */ |
|
|
422 |
cramaccepted = authcram(TheChallenge,ThePass,vpw->pw_clear_passwd); |
422 |
if(cramaccepted == 0) strcpy(AuthType, "CRAM-MD5"); |
423 |
if(cramaccepted == 0) strcpy(AuthType, "CRAM-MD5"); |
423 |
} |
424 |
} |
424 |
|
425 |
|