Config question: substitute another attribute for username

Alan DeKok aland at deployingradius.com
Tue Feb 19 20:48:58 CET 2013


Adam Moffett wrote:
> What I'd like to do is actually ignore the username and password they're
> sedning and instead match a vendor specific attribute called
> DAN-CPE-MAC-ADDRESS.

  Sure.  Edit the "files" configuration, and change the "key" field to
DAN-CPE-MAC-ADDRESS.

  Then, use the MAC address as the key in the "users" file:

0a:0b:0c:0d:0e:0f	Foo-Bar = Baz
			Reply-Message = "wow"

  Alan DeKok.


More information about the Freeradius-Users mailing list