Changing radius vendor to 'cisco' without configuring a Captive Portal?
-
Not straight up a Captive Portal question. but perhaps people with knowledge of the captive portal config storage can help me.
I'm using radius for openvpn auth. And I was looking into why it
wasn't sending the Radius server the Calling-Station-Id. In looking
at code I see that there is an option in Captive Portal
$config['captiveportal']['radiusvendor'] that when set to 'cisco'
sends the $clientip instead of the client's mac address. And this
function appears is called for all radius auth even when not using
captive portal.In order to appease the UI input validation I have to set up a captive
portal on a real interface and configure it for radius auth. I don't
want to do this.Can I inject just the $config['captiveportal']['radiusvendor'] into
the config.xml and will it be stable as long as I don't touch the
captive portal settings?Also can I request a change that the radius vendor be configured on
the radius server ui and not the captive portal ui?Thanks
-
Those settings only affect the RADIUS server configured for captive portal auth. We don't have a setting in the user manager that does the same function (yet).
For 2.2, those will likely be merged into the main RADIUS config in the user manager, but for now the settings on CP are just for CP.