Re: migrating external programs from xtradius to freeradius

2004-12-08 Thread L.C. \(Laurentiu C. Badea\)
Thank you Alan and Paul for your replies. Freeradius converts the attribute names to make them more like standard sh variables. It also wraps the string values in double quotes, such that echo ${USER_NAME} yields username. The first issue is a result of deciding that '-' is a magic

Re: migrating external programs from xtradius to freeradius

2004-12-08 Thread Alan DeKok
L.C. (Laurentiu C. Badea) [EMAIL PROTECTED] wrote: Uppercasing is actually the worst problem, as it's not easily reversible. So edit src/main/exec.c You have the source. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

migrating external programs from xtradius to freeradius

2004-12-07 Thread L.C. \(Laurentiu C. Badea\)
As the subject says, I am currently using xtradius in production with external programs for authentication and accounting. Freeradius is very similar in its handling of external scripts, but has its own peculiarities which made things a bit more complicated than they should be: Xtradius puts

Re: migrating external programs from xtradius to freeradius

2004-12-07 Thread Alan DeKok
L.C. (Laurentiu C. Badea) [EMAIL PROTECTED] wrote: Freeradius converts the attribute names to make them more like standard sh variables. It also wraps the string values in double quotes, such that echo ${USER_NAME} yields username. The first issue is a result of deciding that '-' is a magic

Re: migrating external programs from xtradius to freeradius

2004-12-07 Thread Paul Hampson
On Tue, Dec 07, 2004 at 12:40:41PM -0800, L.C. (Laurentiu C. Badea) wrote: Xtradius uses Auth-Type = External, freeradius appears to need Auth-Type = Accept with an external script. Not a big deal, just thought I should mention it because it is somewhat less intuitive (since after all, you