Problem In Freeradius 3.0.11
Stefan Paetow
Stefan.Paetow at jisc.ac.uk
Thu Mar 30 12:51:44 CEST 2017
> update control {
> Auth-Type := `/usr/bin/php /var/www/html/set_auth_type.php
> %{User-Name} %{User-Password} %{Client-IP-Address} 3`
> }
> }
That's not going to work. The unlang syntax is wrong. Use something like:
Auth-Type := "%{echo:/usr/bin/php ...}"
You can't simply use back ticks and expect things to work...
With Regards
Stefan Paetow
Moonshot Industry & Research Liaison Coordinator
t: +44 (0)1235 822 125
gpg: 0x3FCE5142
xmpp: stefanp at jabber.dev.ja.net
skype: stefan.paetow.janet
jisc.ac.uk
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20170330/ed0e93ad/attachment.sig>
More information about the Freeradius-Users
mailing list