2013-08-27 14:37:22 +02:00
|
|
|
; 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.
|
|
|
|
|
|
|
|
|
2013-11-26 12:00:37 +01:00
|
|
|
[internal_ldap_authentication]
|
2013-10-22 16:47:04 +02:00
|
|
|
@ldap_auth_disabled@
|
2013-11-26 13:30:15 +01:00
|
|
|
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@
|
2013-07-01 17:51:18 +02:00
|
|
|
|
2013-11-26 12:00:37 +01:00
|
|
|
[internal_db_authentication]
|
2013-10-22 16:47:04 +02:00
|
|
|
@internal_auth_disabled@
|
|
|
|
backend = db
|
|
|
|
target = "user"
|
|
|
|
resource = "internal_db"
|