Auth-Type in post-auth SQL insert

Alan DeKok aland at deployingradius.com
Sat Jul 28 22:05:07 CEST 2007


Brad Robel-Forrest wrote:
> I've successfully configured FreeRADIUS to use a SQL driver for  
> authentication checks 

  Huh?  SQL doesn't do authentication.  If you *can* list "sql" in the
"authenticate" section, it's because you've edited the source.

  Don't do that.

> Is there a runtime variable that I can reference to save the  
> Auth-Type used for authenticating the user during post-auth? I've  
> tried what I thought to be the obvious (e.g. %{Auth-Type}) but that  
> doesn't seem to be available (just inserts an empty string).  

  It's in the check list, not the request list.  See "man users", or
doc/variables.txt.

> Essentially, I'd like to catalog the type of authentication that was  
> used for authorizing a user (assuming it was successful, of course).  
> For example, user Joe authenticated via PAP.

  Authentication type is *not* authentication protocol.

  Alan DeKok.



More information about the Freeradius-Users mailing list