LDAP not working with Keycloak 16.1.1

223 views
Skip to first unread message

Renato Ventura

unread,
Mar 29, 2023, 5:29:48 AM3/29/23
to dcm4che
hi, all

in first place i'd like to say thank you all for your great work ... keep up on doing that please.

now , my (noob) problem ... i am trying to install dcm4chee 5.29.2 on windows , secured version , keycloak 16.1.1 , mysql , apacheDS , Java8(32bits) for apache ldap server and openjdk-11 (64bits) on standalone server (Windows 2019 server)

i have tried with java11(64bits) on first try , but then , after this dificulty , i tried with open jdk11 ... but the problem persists.


can get keycloak web page working , but when creating user federation, on testing LDAP authentication it says "LDAP authentication failed" , but LDAP test connection says "Successful" ... i searched and found nothing to get over this part

i tried same credentials that fails on keycloak web page , on apache directory studio and it works fine.

when doing keycloak server configuration, there were 4 lines of code that gave an error on keycloak cli console, they were

/core-service=management/security-realm=ManagementRealm/authentication=ldap:add(connection=ldap,base-dn="ou=users,dc=dcm4che,dc=org",advanced-filter="(&(uid={0})(uid=admin))")

/core-service=management/management-interface=http-interface:write-attribute(name=ssl-context,value=httpsSSC)

/core-service=management/management-interface=http-interface:write-attribute(name=secure-socket-binding,value=management-https) 

/core-service=management/ldap-connection=ldap:add(url=ldap://localhost:10389,search-dn="cn=admin,dc=dcm4che,dc=org",search-credential=secret)   

on other post (https://groups.google.com/g/dcm4che/c/lCr89DuhROU) someone said it is not necessary those lines of code , but i suspect they are necessary, because Vrinda has them on the instructions ... and they were updated 2 days ago as of this writing.

but then ... after some more search, i found some site saying keycloak 16.1.1 does not allow management/ldap-connection nor management/security-realm ... when inputing commands on cli , tab autocomplete does not show those options ... i am confused ... can  anyone point me on the right direction?

Thank you in advance.
RV


Kleber

unread,
Mar 31, 2023, 10:33:30 AM3/31/23
to dcm...@googlegroups.com
i have the same problem

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/13f27113-953f-445c-828c-491b2bde4bf5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages