Re: rlm_perl module not executing authenticate

2012-06-15 Thread Diego Matute
Got it. Thanks. On Wed, Jun 13, 2012 at 1:57 AM, Alan DeKok wrote: > Diego Matute wrote: > > What is the best practice for this? Should the Auth-Type be set in > > /etc/raddb/users, within the module, /etc/raddb/sites-available/*? > > It should be set wherever you want. > > Alan DeKok. > - > L

Re: rlm_perl module not executing authenticate

2012-06-15 Thread Diego Matute
Fajar. Thanks for the tip. This indeed works. In fact as Alan alluded to, placing the configuration in either users or the module will work. Here are the configurations that worked: /etc/raddb/users: DEFAULT Auth-Type = Perl Fall-Through = yes OR /etc/raddb/example: # Function to

Re: rlm_perl module not executing authenticate

2012-06-12 Thread Alan DeKok
Diego Matute wrote: > What is the best practice for this? Should the Auth-Type be set in > /etc/raddb/users, within the module, /etc/raddb/sites-available/*? It should be set wherever you want. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_perl module not executing authenticate

2012-06-12 Thread Fajar A. Nugraha
On Wed, Jun 13, 2012 at 6:01 AM, Diego Matute wrote: >> > 2/ How does Auth-Type get set? I've read a bunch of forum threads and it >> > looks like best practice nowadays is to let the server figure it out and >> > not set it explicitly in /etc/raddb/users, however it isn't being set. >> >>  It is

Re: rlm_perl module not executing authenticate

2012-06-12 Thread Diego Matute
Thanks for the quick response. Inline. On Tue, Jun 12, 2012 at 10:44 AM, Alan DeKok wrote: > Diego Matute wrote: > > I've installed freeradius and other packages on a vanilla amazon ec2 > > instance and am trying to get the rlm_perl module working. Ultimately > > the authenticate function in the

Re: rlm_perl module not executing authenticate

2012-06-12 Thread Alan DeKok
Diego Matute wrote: > I've installed freeradius and other packages on a vanilla amazon ec2 > instance and am trying to get the rlm_perl module working. Ultimately > the authenticate function in the perl script is not being run. Here are > the details. ... > 1/ Request comes in and authorize is bein