cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP configuration and debug in linux

scottblue
Champ in-the-making
Champ in-the-making
Hi All,

I am a real newbie to Alfresco.  I have downloaded alfresco-community-tomcat-2.1.0.tar.gz and extracted it to /opt/alfresco on my kubuntu linux distribution.  I can simply type ./alfresco.sh start in the /opt/alfresco directory and it successfully starts.   I can see the start page in my web browser and login using admin/admin.  So far so good Smiley Happy

Now I am trying to get LDAP authentication to work.  I stop alfresco (./alfresco.sh stop) and go to tomcat/shared/classes/alfresco/extension and remove the .sample from the end of the ldap-authentication-context.xml.sample file.  I dont change any of the details because I just want to see what the debug looks like.

I attempt to turn on debugging by going to tomcat/webapps/alfresco/WEB-INF/classes and adding the line
log4.logger.org.alfresco.repo.security.authentication.ldap=debug

I start alfresco.  I can no longer login with admin/admin but thats ok because I havent done chaining yet.  However what I dont get is any debug information.  I can type any user/password pair and I dont get any entries in /opt/alfresco/alfresco.log.  There is no debug information regarding the failure to connect to an ldap server.

What I have forgotten to do?

regards,

Scott.
1 REPLY 1

scottblue
Champ in-the-making
Champ in-the-making
Hi All,

Hooray!  I read a few more posts and actually read the file comments and figured this out.  In the file ldap-authentication-context.xml at line 323 there is a note Commented out to disable.  Uncomment this block and the debug flows like wine   Smiley Happy

Scott.