cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP Problem

thestorm
Champ in-the-making
Champ in-the-making
Hey people,

how can i see what usernames Alfresco imported from my AD?

i configured LDAP and i dont get anymore errors on bootup but i cant log in …

where are the users stored in the db?!

PS: i use v3.0

with my current config i can login as:

sdanninger@office.domain.de

but i wanna use sdanninger as username, where can i define that?

and how i can i make my user admin again (im domain admin in AD but not in Alfresco…)
2 REPLIES 2

durrell
Champ in-the-making
Champ in-the-making
To enable the LDAP sync logging, you need to go to /webapps/alfresco/WEB-INF/classes and edit the log4j.properties file and add the following lines:

log4j.logger.org.alfresco.repo.importer.ImporterJob=debug
log4j.logger.org.alfresco.repo.importer.ExportSourceImporter=debug
log4j.logger.org.alfresco.repo.security.authentication.ldap=debug

Those log levels should also let you see what is preventing you from authenticating.

I do know that unless you set up local and LDAP chaining you're going to need to specify manually what users you want to be admins in /webapps/alfresco/WEB-INF/classes/alfresco/

The administrative users are specified in authority-services-context.xml, you should see them pretty clearly:

<property name="adminUsers">
            <set>
            <value>ldap username</value>
           </set>
        </property>

thestorm
Champ in-the-making
Champ in-the-making
thanks for the helpfull reply.

is there a way i make all Domain Admins also Alfresco Admins?

how can i change the format of username thats imported any1 a hint maybe?

//solved the username proplem just use as userName=%s@office.domain.com

regards