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

92 Views Asked by At

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

I´m missing something?, it is not possible use whatever property of Alfresco Person?. I check the content-model.xml and the organization property is in there.

1

There are 1 best solutions below

2
On