Document required for rlm_python
Bear
jilingshu at gmail.com
Mon Jul 25 15:15:18 CEST 2011
hi,
I am very sorry that you understood my meaning incorrectly...
The project I am working on is to build a Subscription System for a
public laboratory of Cisco in a university. I wrote a Django application
for user to subscribe one device on a certain time. And I need to make
it possible for FreeRadius to allow that user log in at that time he
subscribed. I know there existed a module named "rlm_logintime" but that
module cannot allow me to make one user be authenticated at a certain
time. So I plan to write a authentication backend for FreeRadius to send
the auth request to my Django application, and I will check the log in
time in Django.
Sorry for my poor English. I hope you can understand my meaning :-)
On 100/7/25 下午 09:05, John Dennis wrote:
> On 07/25/2011 12:18 AM, Lingfeng Xiong wrote:
>> hi all,
>> I am very sorry to bother you, but I need the documents for rlm_python.
>> I have searched the wiki and documentation page and found nothing,
>> The project I am working on required me to write a authentication
>> backend for FreeRadius to authenticate with a Django website via HTTP. I
>> wanna make this program by rlm_python to simplify the development.
>> Thanks in advanced.
>
> If I understand correctly you want to authenticate users in a Django web
> application. If so then you're doing radius client, not radius server,
> rlm_python is for running python code inside the FreeRADIUS server. If
> you're doing radius client you need to locate a python client library.
> FWIW, the doc is in doc/rlm_python, but appears to be somewhat out of date.
>
More information about the Freeradius-Devel
mailing list