cancel
Showing results for 
Search instead for 
Did you mean: 

Migration from AD Authentication to LDAP Issues

vanson
Champ on-the-rise
Champ on-the-rise

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?

7 REPLIES 7

fedorow
Elite Collaborator
Elite Collaborator

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.

vanson
Champ on-the-rise
Champ on-the-rise

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.

vanson
Champ on-the-rise
Champ on-the-rise

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.

fedorow
Elite Collaborator
Elite Collaborator

Does a user with the name apple had

sAMAccountName = "apple"

 and now have 

uid = "apple"

?

vanson
Champ on-the-rise
Champ on-the-rise

Yes.  They have the same value. I confirmed it using LDAP browser and compared the value to AD.

fedorow
Elite Collaborator
Elite Collaborator

Had got that issue. Resolved by plaing with sync/auth configuration parameters.

fedorow
Elite Collaborator
Elite Collaborator

Read documentation or give a configuration of synchronization subsystem.