rlm_perl and CHAP authentication

Alan DeKok aland at deployingradius.com
Fri Feb 9 14:10:03 CET 2007


Tomas Hoger wrote:
> Hi all!
> 
> It seems CVS version of rlm_perl may have some negative impact on CHAP
> authentication.  If you use rlm_perl in authorize{}, it will replace
> request vps with contents of %RAD_REQUEST.  After that, request->username
> and request->password are updated.  Result is, that rlm_chap in
> authenticate{} is not able to find CHAP password any more.  main/auth.c
> fallbacks to searching for PW_CHAP_PASSWORD if PW_PASSWORD is not found.

  OK, I've fixed that in rlm_perl, and updated rlm_chap &&
src/main/auth.c to be a little smarter about looking for CHAP-Password

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Devel mailing list