30 lines
1009 B
INI
30 lines
1009 B
INI
; authentication.ini
|
|
;
|
|
; Each section listed in this configuration represents a backend used to authenticate users. The backend configurations
|
|
; must define a resource referring to a configured database or LDAP connection in the INI file resources.ini.
|
|
;
|
|
; The backends will be processed from top to bottom using the first backend for authentication which reports that
|
|
; the user trying to log in is available.
|
|
|
|
[autologin]
|
|
backend = autologin
|
|
;
|
|
; If you want to strip the domain
|
|
; strip_username_regexp = /\@[^$]+$/
|
|
|
|
[internal_ldap_authentication]
|
|
@ldap_auth_disabled@
|
|
backend = ldap
|
|
resource = internal_ldap
|
|
user_class = @ldap_user_objectclass@
|
|
user_name_attribute = @ldap_attribute_username@
|
|
group_base_dn = @ldap_group_base_dn@
|
|
group_attribute = @ldap_group_attribute@
|
|
group_member_attribute = @ldap_group_member_attribute@
|
|
group_class = @ldap_group_class@
|
|
|
|
[internal_db_authentication]
|
|
@internal_auth_disabled@
|
|
backend = db
|
|
resource = internal_db
|