Migration from AD Authentication to LDAP Issues

cancel
Showing results for 
Search instead for 
Did you mean: 
vanson
Active Member

Migration from AD Authentication to LDAP Issues

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
fedorow
Senior Member II

Re: Migration from AD Authentication to LDAP Issues

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
Active Member

Re: Migration from AD Authentication to LDAP Issues

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
Active Member

Re: Migration from AD Authentication to LDAP Issues

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
Senior Member II

Re: Migration from AD Authentication to LDAP Issues

Does a user with the name apple had

sAMAccountName = "apple"

 and now have 

uid = "apple"

?

fedorow
Senior Member II

Re: Migration from AD Authentication to LDAP Issues

Read documentation or give a configuration of synchronization subsystem.

vanson
Active Member

Re: Migration from AD Authentication to LDAP Issues

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

fedorow
Senior Member II

Re: Migration from AD Authentication to LDAP Issues

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