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 "post-auth" section it works, but in "accounting" doesn't.
Accounting packets don't have any attributes in the reply.
Maybe you want to update the "check items".
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Assinatura Padrao - Infomark / VirtualAge / Irapida
|
|
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