understand and aware about that the file format does matter. I have review the file but couldn't see what's wrong I even redo the file entirely and make sure about whitespace/tabs, not sure what I miss here cuz all look to be the same as per the documentation ... Attach the full debug output and the authorized_macs file content in addition to the post-auth section. Il if this can be of any help -- !!!!! ( o o ) --------------oOO----(_)----OOo-------------- Luc Paulin email: paulinster(at)gmail.com Skype: paulinster 2018-01-31 16:36 GMT-05:00 Alan DeKok <aland@deployingradius.com>:
On Jan 31, 2018, at 3:41 PM, Luc Paulin <paulinster@gmail.com> wrote:
Sorry if the file's format isn't correct but unless that I didn't understand documentation correctly I follow what's on the following url https://wiki.freeradius.org/guide/mac-auth#plain-mac-auth_
raddb-authorized_macs
Maybe the mailer mangled the text. Whitespace DOES matter in the "users" file.
Here's the authorized mac module section
[root@radius-corp-01_{{PROD}} raddb]# cat mods-enabled/stingray-authorize-mac files authorized_macs { # The default key attribute to use for matches. The content # of this attribute is used to match the "name" of the # entry. key = "%{Calling-Station-ID}"
usersfile = ${confdir}/authorized_macs
That should work.
... (9) authorized_macs: --> 18-65-90-CB-4C-69 (9) [authorized_macs] = noop
That means the MAC address wasn't found in the file.
I'm not sure what's going wrong. It's not clear from the debug output.
But the file format DOES matter. Tabs and whitespace MUST exist as in the documentation.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html