rlm_sqlite

Gabriel Blanchard gabe at teksavvy.ca
Tue Jul 14 21:06:01 CEST 2009


On 14-Jul-09, at 1:25 PM, Alan DeKok wrote:

>   The question was:
>
>   In a module called "sql", do you need a configuration parameter
> "sql_file".  Or, could it just be "file"?
>
>   My $0.02 is that it should be "file".
>
>

Well it appears that rlm_sql_sqlite definitely works. Although I don't  
see any reason to use it other than authentication.

sqlite> INSERT INTO radreply (username, attribute, op, value) Values  
('test at test', 'Password', '==','test');
sqlite> .quit

$ echo "User-Name=test at test,Password=test,Framed-Protocol=PPP " | /usr/ 
local/bin/radclient 127.0.0.1 auth testing123
Received response ID 43, code 2, length = 38
	User-Password = "test"

Is this change welcome at all? Should I submit a patch?

-Gabe



More information about the Freeradius-Devel mailing list