cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3.0 + OpenLDAP + CIFS: Working

lpiguet
Champ in-the-making
Champ in-the-making
After some migration pains, I was able to successfully enable Alfresco Enterprise 3.0 with users and groups coming from OpenLDAP (using clear text passwords), and a working CIFS.

I thought I would post this here. If people are interested, post a reply and I'll post more detailed steps and instructions.

Cheers,
Laurent
21 REPLIES 21

mrojas73
Champ in-the-making
Champ in-the-making
So the OP never told us how he got it working I guess?

mindthegab
Champ in-the-making
Champ in-the-making
Any gotchas here?

I'm having problems with share and searching users…

Strange way of managing community expectations though, why don't you just share your findings? (talking to the starter of this topic)

Thanks in advance for the effort anyways…!

mrojas73
Champ in-the-making
Champ in-the-making
After some migration pains, I was able to successfully enable Alfresco Enterprise 3.0 with users and groups coming from OpenLDAP (using clear text passwords), and a working CIFS.

I thought I would post this here. If people are interested, post a reply and I'll post more detailed steps and instructions.

Cheers,
Laurent

Nonsense post, thank you for nothing.

cyberheap
Champ in-the-making
Champ in-the-making
bump…

Anyone successfully configured the mentioned setup?

I have the same setup, and authentication works fine (chaining: Alfresco + LDAP).

CIFS works for Alfresco users, but not for the ones in OpenLDAP.

Is it even recommendable(possible) to enable CIFS with OpenLDAP+LDAP,
or would it be better to use something like Kerberos or CAS?

Thanks,
Primoz

scott_holliday
Champ in-the-making
Champ in-the-making
Anyone know if this is possible yet?

Specifically with Alfresco 3.2?

ghilteras
Champ in-the-making
Champ in-the-making
it doesnt.

alfresco community edition 3.2 doesnt work on openldap because it ignores directives you pass on properties

if you'd download the latest nightly build with the same properties that doesnt work on 3.2 it would work instantly.

problem is that the latest nightly is not a stable version

i wonder if there is a way to hotfix the community version 3.2 uploaded on the website in order to make it read custom configurations from global properties, so we could use a stable and working version of community alfresco + ldap


cheers

brice
Champ in-the-making
Champ in-the-making


if you'd download the latest nightly build with the same properties that doesnt work on 3.2 it would work instantly.

I had to do the same with alfresco.war (schema 2338) to allow language extension to be taken into account using web-client-custom-config.xml

ghilteras
Champ in-the-making
Champ in-the-making
i tried to copy the latest alfresco.war on the 3.2 community edition but still it ignores anything related to ldap authentication/syncronization written in both

tomcat/shared/classes/alfresco-global.properties
and
tomcat/shared/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication.properties
and
tomcat/webapps/alfresco/WEB-INF/classes/alfresco-global.properties


it's just impossible to make alfresco read any of them.

upon authentication i always get a general error:

16:51:18,310 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 09060004 Login failed
org.alfresco.web.scripts.WebScriptException: 09060004 Login failed

THE SAME configuration works perfectly on the latest build

scott_holliday
Champ in-the-making
Champ in-the-making
I've managed to get my LDAP users authenticating with CIFS on latest Nightly Build.
However, i had to use the following chain:
authentication.chain=passthru1:passthru,ldap1:ldap

Thing is the build is not stable at all and some key components of share don't work. Like uploading files.. ??

All the configurations were put into alfresco-global.properties and seem to work fine.
I based my configuration of this thread http://forums.alfresco.com/en/viewtopic.php?f=9&t=21091

Few things to note, users have to login to share before they can use CIFS (Account must not be created until this happens)
Also im receiving a heap of "web.scripts.DeclarativeRegistry" Warnings and the same Login Failed Error. Among others.

But the main thing is i achieved what i wanted to, and get LDAP authenticating CIFS.

ghilteras
Champ in-the-making
Champ in-the-making
it's normal that works because with the latest nightly build putting custom configuration on global properties is fixed

but it's not a stable version, i cannot use the latest build on my production env

so i repeat that what we need is just a hotfix on the stable community version to make it read global properties correctly because uploading the latest alfresco.war is not enough