[keycloak-user] ldap federation working | test connection / authentication buttons failing

mj lists at merit.unu.edu
Wed Jul 3 04:55:22 EDT 2019


Hi,

Keycloak 6.0.1, LDAP federation is working, users can logon and are 
updated automatically regularly from ldap:

> 2019-07-02 17:39:49,761 INFO  [org.keycloak.storage.ldap.LDAPStorageProviderFactory] (Timer-2) Sync changed users from LDAP to local store: realm: our_realm, federation provider: our_realm-ad, last sync time: Mon Jul 01 17:39:43 CEST > 2019-07-02 17:39:50,067 INFO  [org.keycloak.storage.ldap.LDAPStorageProviderFactory] (Timer-2) Sync changed users finished: 3 imported users, 22 updated users

In keycloak, the configured ldap uri is ldap://localhost:389, where a 
haproxy instance is listening that talks ldaps to our DCs.

The 'problem': in the keycloak GUI, the buttons 'Test authentication' 
and 'Test connection' do not work:

"Error! Error when trying to connect to LDAP. See server.log for details."

But nothing logged in server.log, and haproxy does not even log a 
connection attempt at all.

Anyone else seeing this..?

MJ


More information about the keycloak-user mailing list