mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-23 10:25:45 -04:00
Add authentication backend type msldap with default values for user_class and user_name_attribute. Backend type ldap now logs an error when user_class and user_name_attribute ist not configured. Rename membership.ini to memberships.ini since all our INI configuration files are in the plurar where it makes sense. The AuthenticationController now handles authentication refs #5685 refs #5638 fixes #5218
20 lines
720 B
INI
20 lines
720 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.
|
|
|
|
|
|
[internal_ldap_authentication]
|
|
@ldap_auth_disabled@
|
|
backend = ldap
|
|
resource = internal_ldap
|
|
user_class = @ldap_user_objectclass@
|
|
user_name_attribute = @ldap_attribute_username@
|
|
|
|
[internal_db_authentication]
|
|
@internal_auth_disabled@
|
|
backend = db
|
|
resource = internal_db
|