cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP Authentication not working

paul99
Champ in-the-making
Champ in-the-making
Hi,

Using Alfresco Community Edition 3.2 on Ubuntu 9.04.  I edited ldap-authentication.properties and restarted, but I can't seem to log in using my LDAP user id.

I have used the same LDAP settings in Plone, TikiWiki and DekiWiki with success, so not sure why it's not working with Alfresco.  Any ideas?

Thanks,

Paul
4 REPLIES 4

lees
Champ in-the-making
Champ in-the-making
Did you updated your authentication chain?

paul99
Champ in-the-making
Champ in-the-making
Did you updated your authentication chain?

Umm .. sorry, I must have don't recall seeing that in the documentation.  How do I go about doing this?

Thanks,

Paul

bufke
Champ in-the-making
Champ in-the-making
Hi

I'm in the same boat but I think I do know what the authentication chain is.  It tells alfresco what to check when logging in.  So you could authenticate against many sources, say locally and AD in a specified order.  In the file /usr/share/tomcat6/shared/classes/alfresco-global.properties I think you can add
authentication.chain=ldapfile:ldap
where ldapfile whatever you named the ldap extension.

Let me know if and how you get it working.  This is the most confusing setup for ldap I've ever seen.

paul99
Champ in-the-making
Champ in-the-making
Hi,

I got it sort of working.  I added:

authentication.chain=ldap1:ldap

to:

../tomcat/shared/classes/alfresco-global.properties

and restarted.  Then I was able to authenticate using LDAP; however, my admin password no longer worked. I recall reading that there is some way to specify exceptions to using LDAP for certain users.

I agree that the LDAP setup is more confusing than need be, compared to what I've used before.

Cheers,

Paul

Hi

I'm in the same boat but I think I do know what the authentication chain is.  It tells alfresco what to check when logging in.  So you could authenticate against many sources, say locally and AD in a specified order.  In the file /usr/share/tomcat6/shared/classes/alfresco-global.properties I think you can add
authentication.chain=ldapfile:ldap
where ldapfile whatever you named the ldap extension.

Let me know if and how you get it working.  This is the most confusing setup for ldap I've ever seen.