Binding MAC address with username

Stefan Paetow Stefan.Paetow at jisc.ac.uk
Wed Dec 21 15:36:22 CET 2016


> Thanks! I understood the logic, but I tought there was an integrated way to do so. I think I will simply call a python script to do the verification.

There is. You can use unlang[1] to do some of this, as well as using the xlat engine, i.e. "%{sql:SELECT username from ...}"[2]

[1] http://freeradius.org/radiusd/man/unlang.html
[2] https://wiki.freeradius.org/modules/Rlm_sql

Do note though that the actual account linking to the MAC address probably should *not* be done in FreeRADIUS... 

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.







More information about the Freeradius-Users mailing list