Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): Opensearch/Dashboard 2.4.1
Describe the issue:
I have been trying configuring SAML and successfully configured but when I tried logging in, I am getting error 500 and the same time I am getting an error, which says “No User admin found in LDAP” and SAML also not routing to the SAML Login page.
Configuration:
saml_auth_domain:
description: “SAML Auth”
http_enabled: true
transport_enabled: false
order: 7
http_authenticator:
type: saml
challenge: true
config:
idp:
enable_ssl: true
verify_hostnames: true
metadata_file: /etc/opensearch/idp-elk-r2.xml
entity_id: “Dell.UAT.SAML2.0”
sp:
entity_id: “https://elk-r2.dell.com”
acs: “https://elk-r2.dell.com:443/kibana/api/security/v1/saml”
logout: “https://elk-r2.dell.com/logout”
kibana_url: “https://elk-r2.dell.com”
subject_key: UserID
roles_key: Role
exchange_key: “<<<removed by admin - do not post keys/passwords>>>”
#exchange_key: “<<<removed by admin - do not post keys/passwords>>>”
authentication_backend:
type: noop
ldap:
description: “Authenticate via LDAP or Active Directory”
http_enabled: true
transport_enabled: true
order: 5
http_authenticator:
type: “basic”
challenge: true
authentication_backend:
type: “ldap”
config:
enable_ssl: true
enable_start_tls: false
enable_ssl_client_auth: false
verify_hostnames: true
pemtrustedcas_filepath: /etc/opensearch/dellldap.crt
hosts:
- “ausdcamer.ins.dell.com:3269”
bind_dn: CN=svc_prdelkstck70902,OU=Service Accounts,DC=amer,DC=dell,DC=com
password: <<<removed by admin - do not post keys/passwords>>>
userbase: “DC=dell,DC=com”
usersearch: “(sAMAccountName={0})”
username_attribute: “sAMAccountName”
authz:
roles_from_myldap:
description: "Authorize via LDAP or Active Directory"
http_enabled: true
transport_enabled: true
authorization_backend:
type: "ldap"
config:
enable_ssl: true
enable_start_tls: false
enable_ssl_client_auth: false
verify_hostnames: true
pemtrustedcas_filepath: /etc/opensearch/dellldap.crt
hosts:
- "ausdcamer.ins.dell.com:3269"
bind_dn: CN=svc_prdelkstck70902,OU=Service Accounts,DC=amer,DC=dell,DC=com
password: <<<removed by admin - do not post keys/passwords>>>
username_attribute: "uid"
rolebase: "DC=dell,DC=com"
rolesearch: "(member={0})"
userroleattribute: null
userrolename: "none"
rolename: "cn"
resolve_nested_roles: true
userbase: "DC=dell,DC=com"
usersearch: "(uid={0})"
Relevant Logs or Screenshots:
Kindly help me in fixing this issue.
Regards,
Debashis