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!