This module contains all authentication related functions that need the access to the database. This module should be used together with auth module, it cannot be used independently because it depends on the module. Select this module if you want to use database to store authentication information like subscriber usernames and passwords. If you want to use radius authentication, then use auth_radius instead.
| Parámetro | Tipo | Descripción |
|---|---|---|
| db_url | string | 3.2. user_column (string) 3.3. domain_column (string) 3.4. password_column (string) 3.5. rpid_column (string) 3.6. calculate_ha1 (integer) 3.7. plain_password_column (string) 3.8. password_column_2 (s |
| user_column | string | 3.3. domain_column (string) 3.4. password_column (string) 3.5. rpid_column (string) 3.6. calculate_ha1 (integer) 3.7. plain_password_column (string) 3.8. password_column_2 (string) 3.9. use_rpid (inte |
| domain_column | string | 3.4. password_column (string) 3.5. rpid_column (string) 3.6. calculate_ha1 (integer) 3.7. plain_password_column (string) 3.8. password_column_2 (string) 3.9. use_rpid (integer) |
| password_column | string | 3.5. rpid_column (string) 3.6. calculate_ha1 (integer) 3.7. plain_password_column (string) 3.8. password_column_2 (string) 3.9. use_rpid (integer) |
| rpid_column | string | 3.6. calculate_ha1 (integer) 3.7. plain_password_column (string) 3.8. password_column_2 (string) 3.9. use_rpid (integer) |
| calculate_ha1 | integer | 3.7. plain_password_column (string) 3.8. password_column_2 (string) 3.9. use_rpid (integer) |
| plain_password_column | string | 3.8. password_column_2 (string) 3.9. use_rpid (integer) |
| password_column_2 | string | 3.9. use_rpid (integer) |
| use_rpid | integer | 3.1. db_url (string) |
| db_url | string | This is URL of the database to be used. Value of the parameter depends on the database module used. For example for mysql and postgres modules this is something like mysql://username:password@host:por |
| user_column | string | This is the name of the column holding usernames. Default value is fine for most people. Use the parameter if you really need to change it. |
| domain_column | string | This is the name of the column holding domains of users. Default value is fine for most people. Use the parameter if you really need to change it. |
| password_column | string | This is the name of the column holding passwords. Passwords can be either stored as plain text or pre-calculated HA1 strings. HA1 strings are MD5 hashes of username, password, and realm. HA1 strings a |
| rpid_column | string | This is the name of the column holding information for the Remote-Party-ID header field. Default value is fine for most people. Use the parameter if you really need to change it. |
| calculate_ha1 | integer | This parameter tells server whether it should read plaintext password from the database or HA1 string. If the parameter is set to 1 then the server will assume that the column pointed to by plain_pass |
| plain_password_column | string | This parameter holds the name of column holding plain text password. This column is used when calculate_ha1 is set. |
| password_column_2 | string | As described in the previous section this parameter contains name of column holding pre-calculated HA1 string that were calculated including the domain in the username. This parameter is used only whe |
| use_rpid | integer | This parameter specifies whether the server should fetch a value for the Remote-Party-ID header field from the database. |
4.2. proxy_authorize(realm, table)
4.1. www_authorize(realm, table)
The function verifies credentials according to RFC2617. If the credentials are verified successfully then the function will succeed and mark the credentials as authorized (marked credentials can be later used by some other functions). If the function
The function verifies credentials according to RFC2617. If the credentials are verified successfully then the function will succeed and mark the credentials as authorized (marked credentials can be later used by some other functions). If the function
Copyright © 2002, 2003 FhG FOKUS