Hi All,
-
Keycloak will not show AD nested groups as “child groups” under the parent in the Groups page. AD represents nesting by putting a group’s DN inside another group’s member attribute; it is not an OU/tree hierarchy. Keycloak’s “child groups” view only reflects hierarchical group containers (e.g., OU → CN trees), not AD’s member-of nesting.
-
AD provides a special matching rule that expands nested memberOf references: 1.2.840.113556.1.4.1941 (also called LDAP_MATCHING_RULE_IN_CHAIN), which can be added to the LDAP filter.
-
Confirmed the new LDAP filter works using ldapsearch, and imported well over 1000 users, however, it also did not work consistently due to timeout issues on the AD side it appears.
-
It managed to import once or twice in keycloak, but sync performance is poor, and does not always work.
Please help us on how to get this working smoothly with optimal performance
thanks in advance!