[GH-ISSUE #1054] [BUG] Keycloak example_config no longer valid as of LLDAP 0.6.0+ due to changed user and group schemas #377

Closed
opened 2026-02-27 08:16:57 +03:00 by kerem · 2 comments
Owner

Originally created by @YUNoMakeGoodMap on GitHub (Dec 4, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/1054

Due to changes in 0.6.0, the settings shown in Example Configs: Keycloak are no longer correct.

The user attributes that need changing or sync fails:

  • Username LDAP attribute: uid -> user_id
  • UUID LDAP attribute: uid -> uuid

Groups sync just fine, but group members are never populated. This used to work in 0.5.0 and previous.

image
image
image

I have included my group mapper settings, to show that the defaults provided by the example config do not work.
I tried to resolve this myself using every combination of settings I could think of, and it syncs groups but not group memberships.

Originally created by @YUNoMakeGoodMap on GitHub (Dec 4, 2024). Original GitHub issue: https://github.com/lldap/lldap/issues/1054 Due to changes in 0.6.0, the settings shown in [Example Configs: Keycloak](https://github.com/lldap/lldap/blob/main/example_configs/keycloak.md) are no longer correct. The user attributes that need changing or sync fails: * Username LDAP attribute: uid -> user_id * UUID LDAP attribute: uid -> uuid Groups sync just fine, but group members are never populated. This used to work in 0.5.0 and previous. ![image](https://github.com/user-attachments/assets/2de82bb9-af9b-4afc-8690-7ad4d532af44) ![image](https://github.com/user-attachments/assets/7d727b16-1a83-490e-85dd-72e4c3a171ee) ![image](https://github.com/user-attachments/assets/bef076ed-a9ea-46ce-807b-5d87a6465149) I have included my group mapper settings, to show that the defaults provided by the example config do not work. I tried to resolve this myself using every combination of settings I could think of, and it syncs groups but not group memberships.
kerem 2026-02-27 08:16:57 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@nitnelave commented on GitHub (Dec 4, 2024):

Can you post the LLDAP logs of:

  • starting LLDAP in verbose mode
  • trying to do a sync with keycloak
    ?

That should help identify the queries made and why it's not syncing.

Bonus points if you can also do that with 0.5 to see the diff, but I don't think it's necessary.

<!-- gh-comment-id:2518578505 --> @nitnelave commented on GitHub (Dec 4, 2024): Can you post the LLDAP logs of: - starting LLDAP in verbose mode - trying to do a sync with keycloak ? That should help identify the queries made and why it's not syncing. Bonus points if you can also do that with 0.5 to see the diff, but I don't think it's necessary.
Author
Owner

@YUNoMakeGoodMap commented on GitHub (Feb 11, 2025):

I believe that I resolved this by deleting the LDAP connection in Keycloak and recreated it.
May have been a fluke, some setting got stuck, kludged state, etc etc.
Not sure, but it has been resolved for quite a while.

<!-- gh-comment-id:2652229415 --> @YUNoMakeGoodMap commented on GitHub (Feb 11, 2025): I believe that I resolved this by deleting the LDAP connection in Keycloak and recreated it. May have been a fluke, some setting got stuck, kludged state, etc etc. Not sure, but it has been resolved for quite a while.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#377
No description provided.