Title: Assinatura Padrao - Infomark / VirtualAge / Irapida
Ok Alan,
I read "man unlang" and I discovered that I have to put "reply:" before
the name of my variable, so I put "%{reply:MyAttribute}" into my exec
module, but it didn't get the value of MyAttribute.
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 executed from accounting phase.
Yes. It's in the reply.
For example:
...
exec echo {
wait = yes
program = "/bin/echo %{MyAttribute}"
See "man unlang" for how to refer to attributes in the reply list.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
|
|
Reginaldo
Russinholi |
| Adm. de
Rede/Desenvolvedor |
|
|
|
| [EMAIL PROTECTED] |
| Grupo Nabhan de
Tecnologia |
| Tel.: +55 (44) 3619-4500 |
| Fax: +55 (44) 3619-4468 |
Infomark • Virtual Age • Irapida |
Responsabilidade
Socioambiental |
| |
ANTES DE IMPRIMIR ESTE E-MAIL,
PENSE EM SEU COMPROMISSO COM O MEIO AMBIENTE. REDUZA, RECICLE, REUTILIZE. |
|
|
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html