36 lines
1.1 KiB
INI
Executable File
36 lines
1.1 KiB
INI
Executable File
; authentication.ini
|
|
;
|
|
; Each section listed in this configuration represents a single backend
|
|
; that can be used to authenticate users or groups. Each databse backend must refer
|
|
; to a resource defined in resources.ini,
|
|
;
|
|
; The order of entries in this configuration is used to determine the fallback
|
|
; priority in case of an error. If the resource referenced in the first
|
|
; entry is not reachable, the next lower entry will be used for authentication.
|
|
; Please be aware that this behaviour is not valid for the authentication itself.
|
|
; The authentication will only be done against the one available resource with the highest
|
|
; priority.
|
|
|
|
|
|
[ldap_authentication]
|
|
@ldap_auth_disabled@
|
|
backend = "ldap"
|
|
target = "user"
|
|
hostname = "@ldap_host@"
|
|
port = "@ldap_port@"
|
|
root_dn = "@ldap_rootdn@"
|
|
bind_dn = "@ldap_binddn@"
|
|
bind_pw = "@ldap_bindpass@"
|
|
|
|
; Object class of the user
|
|
user_class = "@ldap_user_objectclass@"
|
|
|
|
; Attribute name for username
|
|
user_name_attribute = "@ldap_attribute_username@"
|
|
|
|
[internal_authentication]
|
|
@internal_auth_disabled@
|
|
backend = db
|
|
target = "user"
|
|
resource = "internal_db"
|