cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic home space creation fails for LDAP users

mko123
Champ in-the-making
Champ in-the-making
This is probably a follow-up  of this issue:
http://forums.alfresco.com/en/viewtopic.php?f=9&t=10785&p=84271#p35682

I am using an authentication chain like this:
authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1Smiley Tongueassthru,ldap1:ldap-ad

Authentication against AD works fine.
But when synchronising users with LDAP (or when a LDAP user tries to login), I get the following error (which seems to happen during automated home space creation for new users):

java.lang.IllegalStateException: Non-unique path: found : /app:company_home/app:user_homes 0
   at org.alfresco.repo.security.person.AbstractHomeFolderProvider.resolvePath(AbstractHomeFolderProvider.java:259)
   at org.alfresco.repo.security.person.AbstractHomeFolderProvider.getPathNodeRef(AbstractHomeFolderProvider.java:244)
   at org.alfresco.repo.security.person.UIDBasedHomeFolderProvider.getHomeFolder(UIDBasedHomeFolderProvider.java:84)
   at org.alfresco.repo.security.person.AbstractHomeFolderProvider$OnCreateNode.doWork(AbstractHomeFolderProvider.java:298)
   at org.alfresco.repo.security.person.AbstractHomeFolderProvider$OnCreateNode.doWork(AbstractHomeFolderProvider.java:283)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514)

Propertiy in ldap-ad-authentication.properties is:
ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider

Do I have to configure user_homes path somewhere in this context?

Thank's for your help
Martin
1 REPLY 1

mko123
Champ in-the-making
Champ in-the-making
Solution:

Had to change authentication-services-contect.xml:

userHomesHomeFolderProvider:
/${spaces.company_home.childname}/${spaces.user_homes.childname}
to
/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.user_homes.childname}