2013-08-27 14:37:22 +02:00
|
|
|
; authentication.ini
|
|
|
|
;
|
2014-02-18 09:33:33 +01:00
|
|
|
; Each section listed in this configuration represents a backend used to authenticate users. The backend configurations
|
2014-07-17 19:07:35 +02:00
|
|
|
; must define a resource referring to a configured database or LDAP connection in the INI file resources.ini.
|
2013-08-27 14:37:22 +02:00
|
|
|
;
|
2014-02-18 09:33:33 +01:00
|
|
|
; 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.
|
2013-08-27 14:37:22 +02:00
|
|
|
|
2014-06-03 17:59:22 +02:00
|
|
|
[autologin]
|
|
|
|
backend = autologin
|
|
|
|
;
|
|
|
|
; If you want to strip the domain
|
|
|
|
; strip_username_regexp = /\@[^$]+$/
|
2013-08-27 14:37:22 +02:00
|
|
|
|
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
|
|
|
|
resource = internal_ldap
|
|
|
|
user_class = @ldap_user_objectclass@
|
|
|
|
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
|
2014-03-03 17:21:17 +01:00
|
|
|
resource = internal_db
|