Hi everyone,
I have a setup where our client has LDAP users which are imported into the repository by using the JMX calls "syncAllExternalUsers()" from "org.apache.jackrabbit.oak: External Identity Synchronization Management (UserManagement)". We have configured everything what's necessary for the LDAP sync in OSGi, like the "Apache Jackrabbit Oak Default Sync Handler", the "Apache Jackrabbit Oak External Login Module" and the "Apache Jackrabbit Oak LDAP Identity Provider".
Now after importing a few thousands of users, the users received additional groups which we would like to import. I changed the Default Sync Handler's "User membership nesting depth" property to include the groups.
When I execute the "syncAllExternalUsers()" again, none of the LDAP groups are created. Only when the users are deleted and created anew I also get the groups into the system. I also could not find anything like a "syncAllExternalGroups()" JMX call.
Does anyone have an idea how I could get the LDAP groups into the AEM system?
Also how can I have groups which are not in LDAP anymore removed from the repository? The "Group Expiration Time" property from the Default Sync Handler doesn't seem to have an effect on that.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Sorry some how i missed it is aem6. Yes it is expiration time. Surprised to see it does not sync after expiration time. Please file an support ticket & in that attach debug logs of ldap as well as oak version.
Views
Replies
Total Likes
A user and their group membership is only synchronized with a given interval. This interval is equal to the cache.expiration configuration parameter. Did you waited till the expiry?
Views
Replies
Total Likes
Hi Sham,
I can't find the "cache.expiration" configuration parameter in AEM 6.0.
Did you mean the "User Expiration Time" (user.expirationTime) and "Group Expiration Time" (group.expirationTime) found in the "Apache Jackrabbit Oak Default Sync Handler" OSGi configuration?
The user.expirationTime property is set to 1h and the group.expirationTime property is set to 1d (default values). I tried setting the group.expirationTime to 5min but I couldn't see an effect. LDAP groups which were deleted in LDAP are still in AEM.
Views
Replies
Total Likes
Sorry some how i missed it is aem6. Yes it is expiration time. Surprised to see it does not sync after expiration time. Please file an support ticket & in that attach debug logs of ldap as well as oak version.
Views
Replies
Total Likes
I am experiencing the same issue. Have you been able to resolve this issue?
Views
Replies
Total Likes
Hey dawnd58690430, if you mean the JMX Function for synchronizing LDAP Groups, then the answer is no.
There is an OAK Ticket for the group sync function: https://issues.apache.org/jira/browse/OAK-1823
Views
Replies
Total Likes
Views
Like
Replies