LDAP Connection Elastic

I have a LDAP connection from a single Elastic to LDAP server which is Active Directory
i use ldap not ldaps and get following error

[2025-04-18T11:59:27,596][WARN ][o.e.x.s.a.l.s.LdapUtils  ] [elk] Failed to obtain LDAP connection from pool - LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server EXAMPLE:389:  IOException(LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server EXAMPLE/1.1.1.1:389:  NotEntitledException(component [x-pack-core], module [unboundid.ldapsdk], class [class com.unboundid.ldap.sdk.ConnectThread], entitlement [outbound_network]), ldapSDKVersion=6.0.3, revision=405ee52a554f9867e81d4598a5b2f97beabeb29a'))')

I did a test and it is working via ldapsearch

[2025-04-18T11:59:27,596][WARN ][o.e.x.s.a.RealmsAuthenticator] [ELK] Authentication to realm ldap1 failed - authenticate failed (Caused by LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server EXAMPLE:389:  IOException(LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server EXAMPLE/EXAMPLE:389:  NotEntitledException(component [x-pack-core], module [unboundid.ldapsdk], class [class com.unboundid.ldap.sdk.ConnectThread], entitlement [outbound_network]), ldapSDKVersion=6.0.3, revision=405ee52a554f9867e81d4598a5b2f97beabeb29a'))'); Caused by java.io.IOException: LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server EXAMPLE/EXAMPLE:389:  NotEntitledException(component [x-pack-core], module [unboundid.ldapsdk], class [class com.unboundid.ldap.sdk.ConnectThread], entitlement [outbound_network]), ldapSDKVersion=6.0.3, revision=405ee52a554f9867e81d4598a5b2f97beabeb29a'); Caused by LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server EXAMPLE/EXAMPLE:389:  NotEntitledException(component [x-pack-core], module [unboundid.ldapsdk], class [class com.unboundid.ldap.sdk.ConnectThread], entitlement [outbound_network]), ldapSDKVersion=6.0.3, revision=405ee52a554f9867e81d4598a5b2f97beabeb29a'); Caused by org.elasticsearch.entitlement.runtime.api.NotEntitledException: component [x-pack-core], module [unboundid.ldapsdk], class [class com.unboundid.ldap.sdk.ConnectThread], entitlement [outbound_network])```

ES version : 8.18.0

looks a bit like this bug ?

I note from another thread you updated to 8.18.0, presume this worked in 8.17.x?

yes you are correct, I have a problem with removing a search from dashboard update it but now this one

Is there any estimation when they will release it?

@vahagg1 - I just don't know, not an elastic employee, just a user like you, so have no insight.

A fix is (to my understanding) straightforward, but I just happened to see same issue discussed on reddit earlier today.

Thanks

Doesn't work in 9.0.1 either.

Looks it is not in release note!!

upgrade to version 8.18.2 or 9.0.2