30 lines
1.0 KiB
INI
Executable File
30 lines
1.0 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.
|
|
|
|
|
|
[internal_ldap_authentication]
|
|
@ldap_auth_disabled@
|
|
backend = ldap
|
|
target = user
|
|
resource = internal_ldap
|
|
; Object class of the user
|
|
user_class = @ldap_user_objectclass@
|
|
; ; Attribute name for username
|
|
user_name_attribute = @ldap_attribute_username@
|
|
|
|
[internal_db_authentication]
|
|
@internal_auth_disabled@
|
|
backend = db
|
|
target = "user"
|
|
resource = "internal_db"
|