Re: How to get extra attribute

2008-06-05 Thread Reginaldo Russinholi
;/bin/echo %{MyAttribute}" } ... accounting { echo sql } ... Alan DeKok escreveu: Reginaldo Russinholi wrote: Hi all, I'm using freeradius1.1.7 and I need to get an extra attribute (like 'MyAttribute') from the database and pass it to exec module like this: Yes.

Re: How to get extra attribute

2008-06-05 Thread Reginaldo Russinholi
te. If I put it in "post-auth" section it works, but in "accounting" doesn't. Any hint? Alan DeKok escreveu: Reginaldo Russinholi wrote: But now, I'd like to know if it's possible to pass MyAttribute (that is in RadReply table) to my exec module that is execu

Re: How to get extra attribute

2008-06-05 Thread Reginaldo Russinholi
Thanx again Alan, I've solved my problem using the sql module like this: program = "/bin/echo %{sql:SELECT value FROM RadReply WHERE UserName ='%{User-Name}' and attribute ='MyAttribute'}" Alan DeKok escreveu: Reginaldo Russinholi wrote: If I put it in "pos

How to get extra attribute

2008-06-04 Thread Reginaldo Russinholi
yone could help, I'd be grateful. -- Reginaldo Russinholi Network Admin. / Developer [EMAIL PROTECTED] Grupo Nabhan de Tecnologia Tel.