05-27-2021 12:58 PM
I'm currently running alfresco v6 and authentication of users is done with an AD server. The users in the AD server have now being migrated to the LDAP server. After configuring alfresco with the new LDAP server, the user's associated files are no longer available. The home directory of the users are now empty as well as files the users uploaded to the site. Is there a way to configure my new LDAP with the same users from AD to alfresco?
05-27-2021 02:14 PM
New users must have the same user names. Look at AD configuration. By defaults AMAccountName used as user id.
# The attribute name on people objects found in LDAP to use as the uid in Alfresco ldap.synchronization.userIdAttributeName=sAMAccountName
Make shure it's the same for all users at the new LDAP configuration.
06-01-2021 04:44 AM
Thanks for the feedback.
Users in AD were migrated to LDAP with the same usernames.
In my previous configuration, I pointed AD for alfresco to this
ldap.synchronization.userIdAttributeName=sAMAccountName
In the new configuration Ldap the userId is now uid
ldap.synchronization.userIdAttributeName=uid
After logging in my folders were empty.
06-01-2021 04:51 AM
I checked the folders in my userhome. I realize there has been some duplication. All the userhome folders for each user now have -1 appended to them.
For example, a user with the name apple now has apple folder and apple-1 folder.
06-01-2021 09:13 AM
Does a user with the name apple had
sAMAccountName = "apple"
and now have
uid = "apple"
?
06-02-2021 01:06 AM
Yes. They have the same value. I confirmed it using LDAP browser and compared the value to AD.
06-02-2021 12:40 PM
Had got that issue. Resolved by plaing with sync/auth configuration parameters.
06-01-2021 09:52 AM
Read documentation or give a configuration of synchronization subsystem.
Explore our Alfresco products with the links below. Use labels to filter content by product module.