cancel
Showing results for 
Search instead for 
Did you mean: 

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

politrons
Champ in-the-making
Champ in-the-making
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

2 REPLIES 2

politrons
Champ in-the-making
Champ in-the-making
Is really so weird what I´m trying to achieve?.

politrons
Champ in-the-making
Champ in-the-making
Is really so weird what I´m trying to achieve?.