Re: Re[5]: Rewrite function as in gnu radius.

2004-01-14 Thread Alan DeKok
=?koi8-r?Q?=22?=P.P.=?koi8-r?Q?=22=20?= <[EMAIL PROTECTED]> wrote: > I'm still having some troubles - it took me some time to figure out > that authorize is called before authenticate (I saw output from -X but > couldn't unrestand why authorize is before authenticate) doc/aaa.txt ? > Any commen

Re[5]: Rewrite function as in gnu radius.

2004-01-13 Thread "P . P . "
Ok, xlat is something different that I thought it is ;_)) I'm still having some troubles - it took me some time to figure out that authorize is called before authenticate (I saw output from -X but couldn't unrestand why authorize is before authenticate) Now I have another question - I want to av

Re: Re[3]: Rewrite function as in gnu radius.

2004-01-13 Thread Alan DeKok
?koi8-r?Q?=22?=P.P.=?koi8-r?Q?=22=20?= <[EMAIL PROTECTED]> wrote: > Ok, I figured out how to make authenticate function or rlm_perl > called! I use mysql module and I set Attribute field of radcheck > table (in mysql database) to Auth-Type, op to '=' and Value to > 'PERL' then I placed in authentic

Re[3]: Rewrite function as in gnu radius.

2004-01-13 Thread "P . P . "
Ok, I figured out how to make authenticate function or rlm_perl called! I use mysql module and I set Attribute field of radcheck table (in mysql database) to Auth-Type, op to '=' and Value to 'PERL' then I placed in authenticate section the following lines: Auth-Type PERL{ perl } Hope this he

Re[2]: Rewrite function as in gnu radius.

2004-01-12 Thread "P . P . "
I still have problems with perl module - I have no idea how to make authenticate procedure called (firs of all, in sample config there seem to be a mistake - it should be func_authenticate, not func_authentication) Another issue - as far as I understand xlat function is to be called on initializa

Re: Re[2]: Rewrite function as in gnu radius.

2004-01-05 Thread Alan DeKok
=?koi8-r?Q?=22?=P.P.=?koi8-r?Q?=22=20?= <[EMAIL PROTECTED]> wrote: > 1) function authenticate (in supplied example.pl script) HAS NEVER > been called, and I wasn't able to make it called in any > circumstances. You didn't tell the server to call the module for authentication. > The script only

Re: Rewrite function as in gnu radius.

2004-01-05 Thread Boian Jordanov
On Mon, Jan 05, 2004 at 09:22:53AM +0300, "P.P." wrote: > > I would suggest using the Perl module. It does everything the > > rewrite functions do, and more. > > > > Alan DeKok. > > Following this advice, I learned a bit of perl and tried this aproach. > There were alot of problems I met, mo

Re[2]: Rewrite function as in gnu radius.

2004-01-04 Thread "P . P . "
> I would suggest using the Perl module. It does everything the > rewrite functions do, and more. > > Alan DeKok. Following this advice, I learned a bit of perl and tried this aproach. There were alot of problems I met, most of them are VoIP related. In my opinion the perl module is *exactly

Re[4]: Rewrite function as in gnu radius.

2004-01-03 Thread "P . P . "
> =?koi8-r?Q?=22?=P.P.=?koi8-r?Q?=22=20?= <[EMAIL PROTECTED]> wrote: > > Could you point out... Suppose I have an autorized user 'UserTest' > > with password 'UT_Pass'... Where should I place string something like > > Session-Timeout = /usr/myscipt/gettimeout.pl %{User-Name:-guest} > > %{User-Pass

Re: Re[2]: Rewrite function as in gnu radius.

2004-01-03 Thread Alan DeKok
=?koi8-r?Q?=22?=P.P.=?koi8-r?Q?=22=20?= <[EMAIL PROTECTED]> wrote: > Could you point out... Suppose I have an autorized user 'UserTest' > with password 'UT_Pass'... Where should I place string something like > Session-Timeout = /usr/myscipt/gettimeout.pl %{User-Name:-guest} > %{User-Password:-guest

Re[2]: Rewrite function as in gnu radius.

2004-01-03 Thread "P . P . "
wrote: > > I'm a new user of freeradius. There were tons of problems with > > understanding how it works, luckily, some people from a mailing list > > (gnugk) helped me to start... > > I'm not sure you need to know how it works. The documentation which > comes with the server explains how to

Re: Rewrite function as in gnu radius.

2004-01-03 Thread Alan DeKok
=?koi8-r?Q?=22?=P.P.=?koi8-r?Q?=22=20?= <[EMAIL PROTECTED]> wrote: > I'm a new user of freeradius. There were tons of problems with > understanding how it works, luckily, some people from a mailing list > (gnugk) helped me to start... I'm not sure you need to know how it works. The documentati

Rewrite function as in gnu radius.

2004-01-03 Thread "P . P . "
Hello everybody, I'm a new user of freeradius. There were tons of problems with understanding how it works, luckily, some people from a mailing list (gnugk) helped me to start... Many many my problems disapeared after I read documentation of gnu radius - it seems to be very similar to freeradius