34 lines
1.4 KiB
INI
Executable File
34 lines
1.4 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.
|
|
|
|
|
|
@use_ldap_auth@[ldap_authentication]
|
|
@use_ldap_auth@backend = "ldap"
|
|
@use_ldap_auth@target = "user"
|
|
@use_ldap_auth@hostname = "@ldap_host@"
|
|
@use_ldap_auth@port = "@ldap_port@"
|
|
@use_ldap_auth@root_dn = "@ldap_rootdn@"
|
|
@use_ldap_auth@bind_dn = "@ldap_binddn@"
|
|
@use_ldap_auth@bind_pw = "@ldap_bindpass@"
|
|
|
|
; Attributes for ldap user lookup
|
|
@use_ldap_auth@user_class = "@ldap_user_objectclass@"
|
|
@use_ldap_auth@user_name_attribute = "@ldap_attribute_username@"
|
|
@use_ldap_auth@user_password_attribute = "@ldap_attribute_password@"
|
|
|
|
|
|
@use_internal_auth@[internal_authentication]
|
|
@use_internal_auth@backend = db
|
|
@use_internal_auth@target = "user"
|
|
@use_internal_auth@resource = "internal_db"
|