xlat sql trouble

2005-01-15 Thread Red Cayenne
Hi, I wrote a custom xlat sql function (my setup is with mysql backend), registered it, and radius_xlat gets the function running. However, variables in query are not replaced with attribute values... So my question is: what did I do wrong? :) sql.conf : test_query = "SELECT id FROM ${authcheck_

Re: xlat sql trouble

2005-01-17 Thread Red Cayenne
On Sun, 16 Jan 2005 11:46:52 -0500, Alan DeKok <[EMAIL PROTECTED]> wrote: > Read the original sql_xlat function, and see what the differences > are between it and your function. > > Odds are you're not calling radius_xlat. > > Alan DeKok. Thanks, this got me going. I got a clue that radius

Re: poptop +freeradius+ passwd

2005-01-19 Thread Red Cayenne
On Tue, 18 Jan 2005 13:48:37 -0200, Bruno Ricci <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to authenticate poptop users in /etc/passwd ..is it > possible? > > Bruno Ricci Hi, It is possible, take a look at users file in your configuration directory and the Auth-Type := System attribu

Re: is it possible to run two freeradius services at the same time ?

2005-01-19 Thread Red Cayenne
On Tue, 18 Jan 2005 10:54:37 -0500, Chris Riley <[EMAIL PROTECTED]> wrote: > I would think so. You'll need them to have different installation > directories. And of course they need to be configured to use different > ports. One should use 1812, the other 1645 (i think) > > On Jan 18, 2005, at 7:0

Re: is it possible to run two freeradius services at the same time ?

2005-01-19 Thread Red Cayenne
On Wed, 19 Jan 2005 13:46:00 GMT, Nans Delrieu <[EMAIL PROTECTED]> wrote: > > ok but how to install in a diffrent directory with an "exe" who looks > for radiusd.conf > > for example, i want etc/init.d/freeradius1 start (config file in > /etc/freeradius > and /etc/init.d/freeradius2 start ? (

Re: xlat sql trouble

2005-01-21 Thread Red Cayenne
On Mon, 17 Jan 2005 11:43:51 -0500, Alan DeKok <[EMAIL PROTECTED]> wrote: > Red Cayenne <[EMAIL PROTECTED]> wrote: > I mean that your sql xlat function needs to call radius_xlat, too. > How else will it expand the variables passed to your function? > > Print out the