Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mod_config_sql.pm [2012-07-05 10:48] – external edit 127.0.0.1mod_config_sql.pm [2019-05-15 06:27] (current) – [SMRadius-Config-CoAServer] nkukard
Line 1: Line 1:
-=====mod_config_sql.pm=====+====== 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. 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. 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====+===== Attributes ===== 
 + 
 +==== SMRadius-Config-Secret ====
  
-===SMRadius-Config-Secret=== 
 Configuration secret to use when communicating with the NAS. Configuration secret to use when communicating with the NAS.
-<code># Set the configuration secret to be used to 'test' 
-SMRadius-Config-Secret  :=  test</code> 
  
-===SMRadius-Config-PODServer===+<code> 
 +# Set the configuration secret to be used to 'test' 
 +SMRadius-Config-Secret  :=  test 
 +</code> 
 + 
 +==== 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. 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-Filter-Reply-Attribute===+==== SMRadius-Config-CoAServer ==== 
 + 
 +<btn type="success" size="xs">Supported <badge>v1.0.x</badge></btn> 
 + 
 +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. 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===+==== 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. 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.