This is an old revision of the document!


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.

Configuration secret to use when communicating with the NAS.

# Set the configuration secret to be used to 'test'
SMRadius-Config-Secret  :=  test

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.

Specify a list of attributes delimited by a , or ; to be filtered out of the attributes added to the reply. These will be logged.

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.