working rlm_perl example

ricklim at telus.net ricklim at telus.net
Mon Oct 3 08:24:06 CEST 2005


Quoting Abdul Lateef <abdul_zu at 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.





More information about the Freeradius-Users mailing list