cancel
Showing results for 
Search instead for 
Did you mean: 

OpenLDAP sync and CIFS authentication in 3.2r2

shmoula
Champ in-the-making
Champ in-the-making
Hi,
  I'm trying to get LDAP sync and native Alfresco auth running, but I still have problems with that. Alfresco synchronises users with OpenLDAP and I can login into user's account via WebExplorer, but when I try to connect to CIFS, I'm still getting [org.alfresco.smb.protocol.auth] User does not exist, Someuser for user imported from OpenLDAP, but when I try to connect like user created inside Alfresco, It works. I'm using simple authentication in LDAP and my users passwords are saved unencrypted (in Alfresco 3.2 this worked for me fine).

My chain:
authentication.chain=ldap1:ldap,alfrescoNtlm1:alfrescoNtlm

Ntlm Properties:
alfresco.authentication.authenticateCIFS=true

LDAP properties:
ldap.authentication.active=false
ldap.authentication.java.naming.security.authentication=simple

Where can be a problem? Thanks in advance!
1 REPLY 1

dward
Champ on-the-rise
Champ on-the-rise
The LDAP subsystem does not support CIFS authentication. The first subsystem in your chain that does support CIFS authentication will, which means for you only the internal Alfresco users could authenticate using CIFS.

If you want your LDAP users to be able to authenticate using CIFS, you should set this to disable alfrescoNtlm's handling of CIFS

alfresco.authentication.authenticateCIFS=false

and then add passthru to your authentication chain. You will then need to configure passthru for Samba, which some users seem to have managed according to this thread

http://forums.alfresco.com/en/viewtopic.php?f=9&t=21091