Re: working rlm_perl example
I did the following configuration and it is working well with me. Try it, and let me it is working or not. user file:
------------------- DEFAULT Auth-Type := perl -------------------
radiusd.conf --------------------- modules area:
perl {
module = /usr/local/etc/example.pl func_accounting = accounting func_authenticate = authenticate func_authorize = authorize func_preacct = preacct func_checksimul = checksimul func_xlat = xlat }
authorize {
preprocess chap suffix perl file }
authenticate {
Auth-Type Perl { perl } }
-------- Yours, Abdul Lateef Computer Programmer HATIF COM Mob: +974 - 5405022 Tel: +974 - 4883068 ICQ: 276994704 YM!: abdul_zu Fax: +974 - 4883063 Doha Qatar http://www.hatif.com __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Quoting Abdul Lateef <abdul_zu@yahoo.com>:
I did the following configuration and it is working well with me.
Try it, and let me it is working or not.
user file:
------------------- DEFAULT Auth-Type := perl -------------------
radiusd.conf --------------------- modules area:
perl {
module = /usr/local/etc/example.pl func_accounting = accounting func_authenticate = authenticate func_authorize = authorize func_preacct = preacct func_checksimul = checksimul func_xlat = xlat }
authorize {
preprocess chap suffix perl file }
authenticate {
Auth-Type Perl { perl } }
-------- Yours, Abdul Lateef Computer Programmer HATIF COM Mob: +974 - 5405022 Tel: +974 - 4883068 ICQ: 276994704 YM!: abdul_zu Fax: +974 - 4883063 Doha Qatar http://www.hatif.com
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Abdul, your a life saver and a grey hair saver, the few grey hairs left thank you. It seems that I missed the user file entry and the Auth-Type Perl { perl } entry in the radiusd.conf file. Thanks again,much appreciated.
ricklim@telus.net wrote:
It seems that I missed the user file entry and the Auth-Type Perl { perl }
entry in the radiusd.conf file.
That shouldn't be necessary, just calling the module in the authorize section should be sufficient. -- Groeten, Regards, Salutations, Thor Spruyt M: +32 (0)475 67 22 65 E: thor.spruyt@telenet.be W: www.thor-spruyt.com www.salesguide.be www.telenethotspot.be
participants (3)
-
Abdul Lateef -
ricklim@telus.net -
Thor Spruyt