Resources: Fix internal ldap auth not configured via resources.ini
This commit is contained in:
parent
e229d73038
commit
eefd9d07ae
|
@ -12,23 +12,13 @@
|
|||
; priority.
|
||||
|
||||
|
||||
[ldap_authentication]
|
||||
[internal_ldap_authentication]
|
||||
@ldap_auth_disabled@
|
||||
backend = "ldap"
|
||||
target = "user"
|
||||
hostname = "@ldap_host@"
|
||||
port = "@ldap_port@"
|
||||
root_dn = "@ldap_rootdn@"
|
||||
bind_dn = "@ldap_binddn@"
|
||||
bind_pw = "@ldap_bindpass@"
|
||||
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@"
|
||||
|
||||
[internal_authentication]
|
||||
[internal_db_authentication]
|
||||
@internal_auth_disabled@
|
||||
backend = db
|
||||
target = "user"
|
||||
|
|
|
@ -39,3 +39,15 @@ object_file = @objects_cache_file@
|
|||
[livestatus]
|
||||
type = livestatus
|
||||
socket = @livestatus_socket@
|
||||
|
||||
[internal_ldap]
|
||||
type = ldap
|
||||
hostname = @ldap_host@
|
||||
port = @ldap_port@
|
||||
root_dn = "@ldap_rootdn@"
|
||||
bind_dn = "@ldap_binddn@"
|
||||
bind_pw = @ldap_bindpass@
|
||||
; Object class of the user
|
||||
user_class = @ldap_user_objectclass@
|
||||
; Attribute name for username
|
||||
user_name_attribute = @ldap_attribute_username@
|
||||
|
|
Loading…
Reference in New Issue