AnsweredAssumed Answered

Alfresco Ldap Use organization in spaces.user_homes.regex.key

Question asked by politrons on Jul 19, 2015
Latest reply on Jul 20, 2015 by politrons
Using import from ldap to Alfresco, I´m trying to move the user home folder to use the organization(o) of the user, so I´m using regular expression in my alfresco-global.properties
 
     
 spaces.user_homes.regex.key=organization


In my common-ldap-context.xml

     
 <entry key="cm:organization">
                    <!– OpenLDAP: "o" –>
                    <!– Active Directory: "???" –>
                    <value>${ldap.synchronization.userOrganizationalIdAttributeName}</value>
                </entry>


And I see that now in the user profile of Alfresco I can see the organization filled.

But when I start up the server Alfresco run the exception


      
  org.alfresco.repo.security.person.PersonException: 06190000 Can not create a home folder when the {http://www.alfresco.org/model/content/1.0}organization property is null or empty

Outcomes