mod_config_sql.pm
Implements custom SQL queries for returning of data for user authentication. Default realm configuration is processed first, followed by user realm configuration and finally client configuration.
In order for SMRadius to be able to process client attributes, the user realm must be associated with the client by using the 'clients_to_realms' table. The peer's IP address and port must also be set in the comma separated 'AccessList' in the clients table. Since the user's realm is determined by the username, it must be in the format user@realm.
Attributes
SMRadius-Config-Secret
Configuration secret to use when communicating with the NAS.
# Set the configuration secret to be used to 'test' SMRadius-Config-Secret := test
SMRadius-Config-PODServer
IP address and port of a POD server. Value is a string in the format 'ip:port'. By using the operator '+=', one or more can be configured. If no port is specified, the default port '1700' will be used.
SMRadius-Config-CoAServer
IP address and port of a CoA server. Value is a string in the format 'ip:port'. By using the operator '+=', one or more can be configured. If no port is specified, the default port '1700' will be used.
This configuration item will override SMRadius-Config-PODServer
and allows modules to make use of the Dynamic Authorization Extensions defined in RFC3576, it is backwards compatible with SMRadius-Config-PODServer
.
SMRadius-Config-Filter-Reply-Attribute
Specify a list of attributes delimited by a , or ; to be filtered out of the attributes added to the reply. These will be logged.
SMRadius-Config-Filter-Reply-VAttribute
Specify a list of vendor attributes delimited by a , or ; to be filtered out of the vendor attributes added to the reply. These will be logged.