<!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">
Thanx Alan,<br>
<br>
it worked.<br>
<br>
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.<br>
<br>
For example:<br>
...<br>
exec echo {<br>
wait = yes<br>
program = "/bin/echo %{MyAttribute}"<br>
}<br>
...<br>
<br>
accounting {<br>
echo<br>
sql<br>
}<br>
...<br>
<br>
<br>
<br>
<br>
<br>
Alan DeKok escreveu:
<blockquote cite="mid:48477BC2.6020006@deployingradius.com" type="cite">
<pre wrap="">Reginaldo Russinholi wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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:
</pre>
</blockquote>
<pre wrap=""><!---->
Yes. You need to define it in a dictionary.
</pre>
<blockquote type="cite">
<pre wrap="">I tried to put MyAttribute into RadReply, but it didn't work.
I also tried put MyAttribute into "dictionary" file and in RadReply, but
it didn't appear in the response to radtest.
</pre>
</blockquote>
<pre wrap=""><!---->
Internal attributes don't go into responses. This is documented.
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.03000904.01040908@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.00000109.06070609@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.02070306.06010807@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>