cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP 1.4 : define another folder for user homes ?

rguinot
Confirmed Champ
Confirmed Champ
Hi ,

LDAP Users importing is configured and working OK .
However , is it possible to define something like /app:company_home/homes so that all user homes are created into /Alfresco/homes/_UserUID_ instead of /Alfresco/_UserUID ?

I probably have to define to properties in repository.properties , and create/modify bean definitions in authentication-services-context.xml , but i would like to if documentation for this is available somewhere , of if someone has already done that ?

Ideally , i would also like those folders to be created the first time a user logs in , instead of on the first LDAP user import

BTW , i am using Alfresco 1.4CE , inside JBoss 4.0.4 .

Thanks in advance !

Romain GUINOT .
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

The support is all there for you 🙂
Just change the base path for the required folder in which to create home spaces. You will have to create this folder first.

See  http://wiki.alfresco.com/wiki/Security_and_Authentication#Creating_home_spaces_-_from_1.4_onwards

Regards

Andy

rguinot
Confirmed Champ
Confirmed Champ
Thanks Andy ,

I figured this out a few weeks ago but didn't post the solution back immediately .
Here's what i did :

-Setup a large value for ldap import start delay to give me time to prepare import ,
-Login as standard admin from a clean DB ,
-Create An Alfresco/homes space , temporarily inviting GROUP_EVERYONE to that space ,
-Stop the server and change the default home path in authentication-services-context.xml for the personalHomeFolderProvider bean from {spaces.company_home.childname} to {spaces.company_home.childname}/cm:homes . The override in the ldap context (in extensions ) did not seem to be sufficient .
-Reset the ldap import delay to 2 minutes
-Restart the server and wait for import .
-Remove GROUP_EVERYONE invitation from /Alfresco/homes

Although a bit clunky , this worked as expected .
Every user now has access to his home in /Alfresco/homes , and only their home .

Thanks anyways for taking the time to answer .




PS: Our Alfresco is still in a POC Stage , should we use it in production for us or some of our clients , we will probably use official support Smiley Happy

When i have the time , i would like to add SSO using JBoss SSO , which beta version has just been released , and figure out how i could make CIFS work with our context ( OpenLDAP / Alfresco server in DMZ ) , probably using a local samba server authentified on our LDAP , and on which would authenticate the Alfresco CIFS , unless you have a better idea … 


Best Regards ,

Romain .