cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate home folder created during ldap sync

rakesraja
Champ in-the-making
Champ in-the-making
Hi All,

I identified that the problem was the duplicate home folder created when ldap syncronization happens. While syncronization, a home folder in this format is created /companyHome/userHome/username@domain.com/. And when the user logsin, another user name in this format is also created /companyHome/userHome/username/ If I delete the home folder /username@domain.com/ the invitation works fine.

Does anyone know how to control the attribute ldap.synchronization.defaultHomeFolderProvider in the ldap properties file? I want this to be same as what alfresco creates when someone logon for the first time /companyHome/userHome/username/.

Thanks,
1 REPLY 1

niketapatel
Star Contributor
Star Contributor
Have you set this property - ldap.synchronization.defaultHomeFolderProvider

If you have not set then default is - <strong>userHomesHomeFolderProvider</strong> and it creates user home folder based on <strong>User Name</strong>

Other options is - <strong>largeHomeFolderProvider</strong>. That also default creates home folder based on User Name.
You can change it from below property, that you need to define in alfresco-global.prop file

spaces.user_homes.regex.key=userName

Hope this help!