Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Describe the issue:
The LDAP login fails when user is in a disabled group like CN=VZI Users 2,OU=DisabledGroups,OU=Disabled,DC=vdsi,DC=ent,DC=verizon,DC=com . Error below from OS logs. If the user is removed from the disabled group this does not occur and user can login. Below also is my LDAP authc/authz. Please recommend a configuration to bypass the disabled group checks.
Configuration:
vdsi_ldap:
description: "Authenticate via LDAP or Active Directory"
http_enabled: true
transport_enabled: true
order: 2
http_authenticator:
type: basic
challenge: false
authentication_backend:
type: ldap
config:
enable_ssl: true
enable_start_tls: false
enable_ssl_client_auth: false
verify_hostnames: false
pemtrustedcas_filepath: "/vapews/devops/tools/ssl/ldap_vdsi_cert.pem"
hosts:
- "vdsilb.verizon.com:636"
follow_referrals: false
bind_dn: "CN=SVC-vapews,OU=SVC,OU=FNA,DC=vdsi,DC=ent,DC=verizon,DC=com"
password: "XXXXXX"
userbase: "DC=vdsi,DC=ent,DC=verizon,DC=com"
vdsi_ldap_roles:
description: "LDAP Group Authorization"
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: false
pemtrustedcas_filepath: "/vapews/devops/tools/ssl/ldap_vdsi_cert.pem"
hosts: "TPAP1T0ADCV01.vdsi.ent.verizon.com"
follow_referrals: false
bind_dn: "CN=SVC-vapews,OU=SVC,OU=FNA,DC=vdsi,DC=ent,DC=verizon,DC=com"
password: "XXXXXXX"
rolebase: "OU=VESLogs,OU=Groups,DC=vdsi,DC=ent,DC=verizon,DC=com"
rolesearch: "(member={0})"
rolename: "cn"
Relevant Logs or Screenshots:
{“type”: “server”, “timestamp”: “2026-07-28T08:09:25,117-0400”, “level”: “ERROR”, “component”: “o.o.s.a.BackendRegistry”, “cluster.name”: “opensearch-vbg-nonprod”, “node.name”: “tdcldjkwva013.ebiz.verizon.com-ml”, “message”: “Cannot retrieve roles for User [name=SHAIYU7, backend_roles=, requestedTenant=null] from ldap due to OpenSearchSecurityException[[org.ldaptive.LdapException@1593540578::resultCode=NO_SUCH_OBJECT, matchedDn=null, responseControls=null, referralURLs=null, messageId=-1, message=javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03152F3F, problem 2001 (NO_OBJECT), data 0, best match of:\n\t’OU=DisabledGroups,OU=Disabled,DC=vdsi,DC=ent,DC=verizon,DC=com’\n\u0000]; remaining name ‘CN=VZI Users 2,OU=DisabledGroups,OU=Disabled,DC=vdsi,DC=ent,DC=verizon,DC=com’, providerException=javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03152F3F, problem 2001 (NO_OBJECT), data 0, best match of:\n\t’OU=DisabledGroups,OU=Disabled,DC=vdsi,DC=ent,DC=verizon,DC=com’\n\u0000]; remaining name ‘CN=VZI Users 2,OU=DisabledGroups,OU=Disabled,DC=vdsi,DC=ent,DC=verizon,DC=com’]]; nested: LdapException[javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03152F3F, problem 2001 (NO_OBJECT), data 0, best match of:\n\t’OU=DisabledGroups,OU=Disabled,DC=vdsi,DC=ent,DC=verizon,DC=com’\n\u0000]; remaining name ‘CN=VZI Users 2,OU=DisabledGroups,OU=Disabled,DC=vdsi,DC=ent,DC=verizon,DC=com’]; nested: NameNotFoundException[[LDAP: error code 32 - 0000208D: NameErr: DSID-03152F3F, problem 2001 (NO_OBJECT), data 0, best match of:\n\t’OU=DisabledGroups,OU=Disabled,DC=vdsi,DC=ent,DC=verizon,DC=com’\n\u0000]];”, “cluster.uuid”: “YtnQ2ybZQCaZRlvli4_Kpw”, “node.id”: “2cG_6YYqQB-gnxy0y7-1pA” ,