cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco integration with ldap

rajuthoutu1
Champ in-the-making
Champ in-the-making
Hi Floks,

I have configured LDAP with Alfresco community edition 5.0.a. using the references of https://www.youtube.com/watch?v=CQjkEh1AuAk#t=213 and http://www.ochounos.com/blog/6. With this i have configured successfully.

But the problem which i am facing here is like i can able to login with any user ,need not to be a user of Ldap or alfresco with the password which i given for connecting to ldap.

ldap.synchronization.java.naming.security.credentials=${LDAP_PASSWORD}

With this password i can able to login with any username even though the user does not exists in the my Ldap server or Alfresco user group.

As my requrement is like i have to login with only Ldap & Alfresco registered users.

I need support from the community .

Regards,
Raju Thoutu
1 REPLY 1

mlagneaux
Champ on-the-rise
Champ on-the-rise
Hi,

ldap.synchronization.java.naming.security.credentials parameters is only used by Alfresco to get authenticated on LDAP and be able to make LDAP request. Those credentials are not used when a user logs in Alfresco.

Could you give us the value of your authentication.chain parameter. I think it should be something like :
authentication.chain=ldap1:ldap,alfrescoNtlm1:alfrescoNtlm

With this configuration, Alfresco first checks login/credentials in LDAP and, if it doesn't match any LDAP account, it checks in local user accounts.