<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ok Alan, <br>
<br>
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.<br>
<br>
If I put it in "post-auth" section it works, but in "accounting"
doesn't.<br>
<br>
Any hint?<br>
<br>
Alan DeKok escreveu:
<blockquote cite="mid:4847DA25.2040208@deployingradius.com" type="cite">
<pre wrap="">Reginaldo Russinholi wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
Yes. It's in the reply.
</pre>
<blockquote type="cite">
<pre wrap="">For example:
...
exec echo {
wait = yes
program = "/bin/echo %{MyAttribute}"
</pre>
</blockquote>
<pre wrap=""><!---->
See "man unlang" for how to refer to attributes in the reply list.
Alan DeKok.
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<title>Assinatura Padrao - Infomark / VirtualAge / Irapida</title>
<table border="0" cellpadding="0" cellspacing="0" width="650">
<tbody>
<tr align="left" valign="middle">
<td colspan="2" rowspan="6" align="left" valign="bottom">
<div align="left"><img
src="cid:part1.08090703.07020605@grupoirapida.com.br"
alt="Borda Esquerda" align="bottom" height="112" width="20"></div>
</td>
<td colspan="4" height="30"> <font
style="font-size: 24px; font-style: italic; font-weight: bold;"
color="#000000" face="Arial, Helvetica, sans-serif"> Reginaldo
Russinholi</font></td>
</tr>
<tr>
<td height="20" width="193"><font
style="font-size: 11px; color: rgb(0, 0, 0);"
face="Verdana, Arial, Helvetica, sans-serif"><b>Adm. de
Rede/Desenvolvedor</b></font></td>
<td rowspan="4" align="right" width="225">
<div align="center"> <a href="http://www.irapida.com.br/"> <img
src="cid:part2.04010300.09010508@grupoirapida.com.br" alt="Irapida"
border="0" height="80"> </a></div>
</td>
<td rowspan="5" align="right" bgcolor="#666666" width="1"><br>
</td>
<td rowspan="4" align="right" width="207">
<div align="center"><a
href="http://www.virtualage.com.br/empresa.php?bt=6&p=3"><img
src="cid:part3.08090301.03020002@grupoirapida.com.br"
alt="Projeto Implante Arvores" border="0" height="79" width="194"></a></div>
</td>
</tr>
<tr>
<td height="15" width="193"><font
style="font-size: 11px; color: rgb(255, 102, 0);"
face="Verdana, Arial, Helvetica, sans-serif"><b> <a
style="color: rgb(255, 102, 0); text-decoration: none;"
href="mailto:russinholi@grupoirapida.com.br">russinholi@grupoirapida.com.br</a></b></font></td>
</tr>
<tr>
<td height="30" width="193"><font
style="font-size: 11px; color: rgb(0, 0, 0);"
face="Verdana, Arial, Helvetica, sans-serif"><b>Grupo Nabhan de
Tecnologia</b></font></td>
</tr>
<tr>
<td height="17" width="193"><font
style="font-size: 11px; color: rgb(0, 0, 0);"
face="Verdana, Arial, Helvetica, sans-serif">Tel.: +55 (44) 3619-4500</font></td>
</tr>
<tr>
<td height="17" width="193"><font
style="font-size: 11px; color: rgb(0, 0, 0);"
face="Verdana, Arial, Helvetica, sans-serif">Fax: +55 (44) 3619-4468</font></td>
<td align="center" height="17" width="225"><font
style="font-size: 11px; color: rgb(0, 0, 0);"
face="Verdana, Arial, Helvetica, sans-serif"><b>Infomark <span
style="color: rgb(255, 102, 0);">•</span> Virtual Age <span
style="color: rgb(255, 102, 0);">•</span> Irapida</b></font></td>
<td align="center" height="17" width="207"><font
style="font-size: 10px; color: rgb(0, 153, 0);"
face="Verdana, Arial, Helvetica, sans-serif"><b>Responsabilidade
Socioambiental</b></font></td>
</tr>
<tr>
<td align="left" height="20" valign="bottom" width="23"> </td>
<td colspan="5" align="center" height="20"><font
style="font-size: 10px; color: rgb(102, 102, 102);"
face="Arial, Helvetica, sans-serif"><b>ANTES DE IMPRIMIR ESTE E-MAIL,
PENSE EM SEU COMPROMISSO COM O MEIO AMBIENTE. </b></font> <font
style="font-size: 10px; color: rgb(102, 102, 102);"
face="Arial, Helvetica, sans-serif"><b> REDUZA, RECICLE, REUTILIZE.</b></font></td>
</tr>
<tr align="left" valign="bottom">
<td colspan="3"><br>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>