Problem whith ldap authentication

Hello, I have this message on …/openfire/logs/stdoutt.log a lot of this, since when a user login on pidgin (client):

12:07:08.784 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.784 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.785 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.785 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.787 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.787 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.788 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.789 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.790 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.825 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.826 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.843 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.851 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.923 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!
12:07:08.925 [socket_c2s-thread-3] WARN org.jivesoftware.openfire.ldap.LdapManager - Using unencrypted connection to LDAP service!

When this happens, the cpu is very high, how can I remove this message from the log or do openfire do not check or verification the LDAP unencrypted connection.

My ldap is very old, work fine, but not have ldaps protocol, just ldap 386.

Openfire: Openfire 4.6.4, build 2bc37e6
Ubuntu: 20.04 LTS

Regards.

For removing it, you have to clone the OF repo and recompile it after deleting the warning or modify it to debug message:
You can find the warnings here:

and here:

Otherwhise upgrade to use LDAPS.

1 Like

totzkotz thanks for the answer, I try to download git code and compile it whit

./mvnw verify -pl distribution -am

Exception in thread “main” java.net.UnknownHostException: repo.maven.apache.org
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:288)
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:203)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:189)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
at org.apache.maven.wrapper.DefaultDownloader.downloadInternal(DefaultDownloader.java:90)
at org.apache.maven.wrapper.DefaultDownloader.download(DefaultDownloader.java:76)
at org.apache.maven.wrapper.Installer.createDist(Installer.java:72)
at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121)
at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:61)

but I have this error !!! can you help me ?

using
mvn verify
should be enough

your exception comes from maven because it can not find the repo…

thanks totzkotz, this is enough mvn verify, I change the dns and resolv it. regards