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.
I think rlm_python is still experimental. I suggest you to use rlm_perl instead. You may read rlm_python source also. It's usage is similar to rlm_perl but for some reason it did not worked for me when I tryed to use it a few months ago, so I switched to rlm_perl. On Mon, Jul 25, 2011 at 1:18 AM, Lingfeng Xiong <jilingshu@gmail.com> 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.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
On 07/25/2011 07:54 AM, Herbert Fischer wrote:
I think rlm_python is still experimental. I suggest you to use rlm_perl instead.
Not experimental any more, Redhat ships it as standard. Looks like the doc needs some updating. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
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. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
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.
participants (4)
-
Bear -
Herbert Fischer -
John Dennis -
Lingfeng Xiong