How to migrate LDAP users from AEM6.1 to AEM6.5 | Community
Skip to main content
Level 2
June 22, 2022
Solved

How to migrate LDAP users from AEM6.1 to AEM6.5

  • June 22, 2022
  • 3 replies
  • 801 views

I am migrating existing project from AEM 6.1 to AEM 6.5. We have AEM author users and associated permissions in AEM 6.1 and want to port it back to AEM 6.5.

Please help us.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SantoshSai

Hi @kyasam ,

You can use ACL Packager from ACS Common, once you you have synced all the users/groups from LDAP.

  1. Migrated content first to 6.1
  2. Create the ACL Packager in lower env i.e, 6.1 in your case.
  3. Select "Package ACL handling" as "merge"
  4. Provide the users/groups name you want to migrate or users/groups ACL's which you want to migrate under "Principle names"
  5. Provide the "Include patterns"
  6. Select "Include principle" if you want to include the user/group in the same package. Unselect this if you want to migrate users/groups separately.
  7. Select Include ACL package. No harm in selecting one option. This is optional.
  8. Build the package. Download and upload to 6.5. Install the package.

For more details please check: https://adobe-consulting-services.github.io/acs-aem-commons/features/packagers/acl-packager/index.html

Migrate users, groups, and ACLs between AEM instances


There are few step by step process described here according to your scenario: https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-16448.html?lang=es-ES

Hope that helps you!

Regards,

Santosh

3 replies

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
June 22, 2022

Hi @kyasam ,

You can use ACL Packager from ACS Common, once you you have synced all the users/groups from LDAP.

  1. Migrated content first to 6.1
  2. Create the ACL Packager in lower env i.e, 6.1 in your case.
  3. Select "Package ACL handling" as "merge"
  4. Provide the users/groups name you want to migrate or users/groups ACL's which you want to migrate under "Principle names"
  5. Provide the "Include patterns"
  6. Select "Include principle" if you want to include the user/group in the same package. Unselect this if you want to migrate users/groups separately.
  7. Select Include ACL package. No harm in selecting one option. This is optional.
  8. Build the package. Download and upload to 6.5. Install the package.

For more details please check: https://adobe-consulting-services.github.io/acs-aem-commons/features/packagers/acl-packager/index.html

Migrate users, groups, and ACLs between AEM instances


There are few step by step process described here according to your scenario: https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-16448.html?lang=es-ES

Hope that helps you!

Regards,

Santosh

Santosh Sai
Adobe Employee
June 22, 2022

@kyasam This link describes all the possible approaches in detail : It's a two step process 

a)Migrating users & group

b)Migrating ACL

https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-16448.html?lang=es-ES

JeevanRaj
Community Advisor
Community Advisor
June 23, 2022

Hi @kyasam 

 

The LDAP users are essentially aem users and migrating LDAP users to 6.5 will be same as migrating aem users. The below article will help you in migrating users, groups and acls to different env.

 

https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-16448.html?lang=es-ES

 

There is one more easier way to do this using ACS commons ACL packager. Here is an article for the same. I recently migrated LDAP users from 6.2 to 6.5 using ACS commons ACL packager and would recommend the same.

https://labs.tadigital.com/index.php/2018/10/29/aem-users-and-groups-migration/

 

Please do keep in mind to exclude certain users and groups like admin, anonymous, geometerixx etc.

 

Let me know if you have further queries.

 

Regards

Jeevan