Users file formatting
aland at deployingradius.com
Wed Feb 18 14:11:10 CET 2015
On Feb 18, 2015, at 7:53 AM, Jonathan Gazeley <Jonathan.Gazeley at bristol.ac.uk> wrote:
> This is hopefully a simple question. I've been using a simple users file to authenticate a handful of users that don't exist in AD with entries like this, which works:
> test-account1 Cleartext-Password := "password", MS-CHAP-Use-NTLM-Auth := no
> I also want to have a couple of test accounts that are restricted to MAC addresses.
> test-account2 Cleartext-Password := 'password', Calling-Station-Id == "00:11:22:33:44:55", MS-CHAP-Use-NTLM-Auth := no
That should work. And in fact, works for me in my tests.
> However radius -XC bombs out with "Unexpected trailing comma in check item list for entry test-account2”
There’s probably *another* entry for the same user. That one has the wrong format.
Which version are you running?
More information about the Freeradius-Users