Resources: Fix internal ldap auth not configured via resources.ini

This commit is contained in:
Eric Lippmann 2013-11-26 12:00:37 +01:00
parent e229d73038
commit eefd9d07ae
2 changed files with 17 additions and 15 deletions

View File

@ -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"

View File

@ -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@