After a bit of work, I was able to solve it by running a php script in the
preacct process.
I added the external program with exec:
exec 1stlogin {
wait = yes
program = /usr/bin/php /root/1stlogin.php %{User-Name}
%{Calling-Station-Id}
Kledi Andoni wrote:
After a bit of work, I was able to solve it by running a
php script in the preacct process.
I added the external program with exec:
exec 1stlogin {
wait
= yes
?? ? ? ? ? ? ? ?program = "/usr/bin/php /root/1stlogin.php
%{User-Name}
Hello,
I need a way to set the Calling-Station-Id attribute automatically for each
user after the first authorization request. In this way the user will be
allowed to authorize only from that mac address in the future.
I am using freeradius 1.1.7 with mysql. I do not have the expertise to
Kledi Andoni wrote:
Hello,
I need a way to set the Calling-Station-Id attribute automatically for each user after the first authorization request. In this way the user will be allowed to authorize only from that mac address in the future.
I am using freeradius 1.1.7 with mysql. I do not
4 matches
Mail list logo