I have Alfresco configured with LDAP authentication.
I want to enable SMB/FTP access via LDAP authentication.
But I cant' access via FTP and via SMB only with the default Admin Alfresco user.
I changed some xml filesserver files but without success.
Which files I may modify for alterate the behavour?
best regards
Matteo
—
corbezzoli
- Posts
- 19
- Achievements
- 1
- Member for
- 3 years 11 months
Stats
Other info are:
- I use OpenLdap as Ldap Server
- The encryption algorith is SSHA
Can this make problems with FTP?
The log report:
DEBUG [org.alfresco.ftp.protocol.auth] Using Write transaction
DEBUG [org.alfresco.ftp.protocol.auth] java.lang.NullPointerException
DEBUG [org.alfresco.ftp.protocol.auth] Authenticated user onlyfortest sts=false via MD4
Is the encryption algoritm MD4 mandatory?
dward
- Posts
- 558
- Achievements
- 6
- Member for
- 4 years 1 month
Alfresco Employee
Stats
file-servers.xml is not used in Alfresco v3.2.
To configure LDAP authentication you need
authentication.chain=ldap1:ldap
in alfresco-global.properties, along with all the other properties for your LDAP server. See http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Configuration_2 for what these should be.
LDAP does not support CIFS/SMB authentication, so this would disable the CIFS server. The FTP server should still work fine, though.
To enable CIFS support, you would need to add the internal alfrescoNtlm authentication system to your chain
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap
which would mean only the internal alfresco users such as admin would be able to use CIFS.
or if you have an active directory server, add the passthru subsystem
See http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Example_1:_Advanced_AD_Chain for an example.
corbezzoli
- Posts
- 19
- Achievements
- 1
- Member for
- 3 years 11 months
Stats
Hi,
the ldap configuration works fine now but our project specification require a CIFS access to the Alfresco repository.
So we try a different authentication chain that involve ldap for sync repo user and alfresco for real authentication like:
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldapbut when i try to log in alfresco explorer with a ldap user I encurred the following problem:
Any Ideas to find a solution?
corbezzoli
- Posts
- 19
- Achievements
- 1
- Member for
- 3 years 11 months
Stats
I can add some info:
- I use OpenLdap
- I try to login with different user created with different Cryptographic hash function (md5/ssha/..) with same error
How can i investigate?
dmihelj
- Posts
- 57
- Achievements
- 3
- Member for
- 3 years 2 months
Stats
Can you post contents of your ldap-authentication.properties file?
** If this post was helpful, please click Yes on the Post Rating --> **
corbezzoli
- Posts
- 19
- Achievements
- 1
- Member for
- 3 years 11 months
Stats
Hi,
This is my shared\classes\alfresco\extension\subsystems\Authentication\ldap\ldap1\ldap-authentication.properties
dmihelj
- Posts
- 57
- Achievements
- 3
- Member for
- 3 years 2 months
Stats
If you would change ldap.authentication.active=false to ldap.authentication.active=true then you should be able to login using LDAP.
But of course then the CIFS won't work - I had a similar problem and the only way I could get things to work is follow these instructions http://wiki.alfresco.com/wiki/LDAP-CIFS_on_Alfresco_Enterprise_v3.0.0 which demand extra programming and adaption to your alfresco version (in my case version 3.2r). Using this adaption alfresco saves password in MD4 hash in the database when you successfully login in web interface through LDAP authentication. It then uses this MD4 hash in CIFS authentication.
** If this post was helpful, please click Yes on the Post Rating --> **
corbezzoli
- Posts
- 19
- Achievements
- 1
- Member for
- 3 years 11 months
Stats
Thanks for the quickly response!
Ok, I will try to develop as wiki says.
I use Alfresco 3.2r Community Edition.