RLM_PERL Integration Issue

Alan DeKok aland at deployingradius.com
Tue Jul 17 19:59:53 CEST 2007


FreeRadius-ML wrote:
>   Well, the perl script is currently setup to return OK on every request. 

  Which won't work for digest authentication.  Please see the "sterman"
draft distributed in doc/rfc/

> I had enabled the perl section in the authentication part of the configuration,
> I'm not that dimwitted. 

  That's nice.  Enabling it is one thing.  Telling the server to *use*
it is another.

>   Essentially, I need to work with rlm_perl because I don't want to use user
> flat files or an SQL, as my end target is to authenticate to some propietary system
> that we've developed here. 

  Then you're doing it wrong.

  List the "digest" module in "authorize" and "authenticate".  Then,
have the perl authorize function set Cleartext-Password, as suggested in
the FAQ.  Once that's done, you don't *need* a Perl "authenticate" function.

  As I said a few messages ago:

  1) Get digest working

  2) Get Perl working

  You're still insisting on trying to do both at once.  That's why it
isn't working.

  Alan DeKok.



More information about the Freeradius-Users mailing list