;/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.
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
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
yone could help, I'd be grateful.
--
Reginaldo
Russinholi
Network Admin. /
Developer
[EMAIL PROTECTED]
Grupo Nabhan de
Tecnologia
Tel.
4 matches
Mail list logo