Digest authentication and perl authorization

Alan DeKok aland at deployingradius.com
Wed Jan 7 11:35:14 CET 2009

Luciano Afranllie wrote:
> Now, I have an stupid question. When I do digest authentication with
> this config, digest module set Auth-Type = Digest but I am overriding
> it with Auth-Type = Accept in perl module. How do I set Auth-Type in
> perl only if it is not already set? What is the value for a not-set
> attribute in perl?

  The "Auth-Type" attribute is in the RAD_CHECK hash.  Just look for it
using normal Perl code.

  Alan DeKok

More information about the Freeradius-Users mailing list