Oak LDAP IdentityProvider fails to sync users and groups in AEMaaCS
The Oak LDAP IdentityProvider in Adobe Experience Manager as a Cloud Service (AEMaaCS) fails to synchronize users and groups from an external Lightweight Directory Access Protocol (LDAP) directory. This results in missing user and group entries, which block proper authorization and provisioning. To resolve the issue, update the LDAP configuration and re-trigger synchronization.
Description description
Environment
Adobe Experience Manager as a Cloud Service (AEMaaCS)
Issue/Symptoms
- The application fails to synchronize groups from the external LDAP directory.
- Group entries are not resolved, resulting in missing authorization mappings.
- User lookups return no matching entries, blocking provisioning and access.
Resolution resolution
Follow these steps to resolve the issue:
-
Set
userConfig.baseDNto the correct LDAP path for user entries. For example:OU=EndUsers,OU=Corporate,OU=Accounts,DC=example,DC=com or DC=example,DC=com. -
Review and adjust the
userConfig.extraFiltersetting:- Remove
extraFilterif unnecessary. - If needed, use a filter based on group membership instead of hard-coded usernames like
(memberOfFilterTemplate = "(|(memberOf=CN=Group1,...)(memberOf=CN=Group2,...))").
- Remove
-
Set
groupConfig.baseDNto the correct LDAP path for group entries. For example:OU=Global,OU=Unmanaged,OU=Groups,DC=example,DC=com. -
Configure group settings:
- Set
groupConfig.objectClasses = [ group]. - Set
groupMemberAttribute = member.
- Set
-
Set
user.membershipNestingDepthto 1 or higher to enable synchronization of nested group memberships. -
Re-run user synchronization through the JMX console or by logging in with a test account.
-
Confirm that groups appear under
/home/groups/<IDP name>and users are assigned correct memberships.
Additional notes:
-
In Active Directory environments:
- Ensure attributes like
sAMAccountName,objectClass, and membership attributes match your directory structure. - Groups may not persist under
/home/groups/ldapin AEM as a Cloud Service, but still resolve correctly for authorization.
- Ensure attributes like
-
Adobe IMS is the supported identity provider for author authentication in AEM as a Cloud Service. Other providers may not stay reliable across updates.