Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
latest version
Describe the issue:
This is My config.yml file
_meta:
type: "config"
config_version: 2
config:
dynamic:
http:
anonymous_auth_enabled: false
xff:
enabled: false
authc:
basic_internal_auth_domain:
description: "Authenticate via HTTP Basic against internal users database"
http_enabled: true
transport_enabled: true
order: 0
http_authenticator:
type: basic
challenge: true
authentication_backend:
type: intern
AD_users:
description: "Authenticate via LDAP or Active Directory"
http_enabled: true
transport_enabled: false
order: 1
http_authenticator:
type: basic
challenge: false
authentication_backend:
type: ldap
config:
enable_ssl: false
enable_start_tls: false
enable_ssl_client_auth: false
verify_hostnames: false
hosts:
- 172.16.66.17:389
bind_dn: CN=x,CN=xx,DC=xx,DC=xx
password: "xx.."
userbase: 'DC=xx,DC=xx'
usersearch: '(sAMAccountName={0})'
username_attribute: "sAMAccountName"
authz:
AD_roles:
description: "Authorize via Active Directory"
http_enabled: true
transport_enabled: true
authorization_backend:
type: ldap
config:
enable_ssl: false
enable_start_tls: false
enable_ssl_client_auth: false
verify_hostnames: false
hosts:
- 172.16.66.17:389
bind_dn: CN=x,CN=x,DC=xx,DC=xx
password: "xx.."
userbase: 'CN=x,DC=x,DC=x'
usersearch: '(sAMAccountName={0})'
username_attribute: "sAMAccountName"
rolebase: 'DC=x,DC=xx'
rolesearch: '(member={0})'
userroleattribute: null
userrolename: none
rolename: "name"
resolve_nested_roles: true
It should be noted that there is no log display about ldap in opensearch.log. I saw the following log. Please also help me to modify other files besides the config.yml file?
Will update 'config' with /etc/opensearch/opensearch-security/config.yml and populate it with empty doc if file missing and populateEmptyIfFileMissing=false
This is the only log about
Configuration:
Relevant Logs or Screenshots: