cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP

vzx34
Champ in-the-making
Champ in-the-making
i have yet to find steps on this that i can really follow as i'm kind of a novice.  i want to start following the instructions that seem clear here      http://www.ochounos.com/#blog/6

but to start with i don't find the same paths listed at all.  is it a version difference?  am i creating not just files but paths as well.

for example this path      /tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/

doesn't exist for me, mine stops at    /tomcat/shared/classes/alfresco/   then i have web-extensions not extensions and in that no Authentication folder.


idea's on where to begin
6 REPLIES 6

qkyrie
Champ in-the-making
Champ in-the-making
The tomcat shared folder simply adds to the deploying webapplications. Therefore you can simply create the folders listed in the blogpost, they will be added at deploytime as if they were actually part of the webapplication.

I recommend following the Alfresco wiki for this one:
http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems

vzx34
Champ in-the-making
Champ in-the-making
also of note i'm finding   ldap-authentication.properties   file, instead of creating file and directory is it possible to use this?

i am using bitnami on ubuntu 12  instance of alfresco 4.2 and integrating with active directory

vzx34
Champ in-the-making
Champ in-the-making
ok i thnk i'm getting closer.  followed thsee instructions and i get past the login page with my domain credentials but only a blank page is displayed.  idea's?  where can i find logs in apache-tomcat?

ldap.authentication.active=true
#personal choice, i always want everyone to login:
ldap.authentication.allowGuestLogin=false
ldap.authentication.userNameFormat=uid=%s,ou=Users,dc=domain,dc=local
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.authentication.java.naming.provider.url=ldap://<ldapservername>:389
ldap.authentication.java.naming.security.authentication=simple
ldap.authentication.escapeCommasInBind=false
ldap.authentication.escapeCommasInUid=false
ldap.authentication.defaultAdministratorUserNames=<user1>,<user2>
#this is set so all my groups and users will exist in alfresco, even if they have not yet signed in, so they can be invited easly to an new project(site)
ldap.synchronization.active=true
ldap.synchronization.java.naming.security.authentication=simple
ldap.synchronization.java.naming.security.principal=cn\=admin,dc\=company,dc\=local
ldap.synchronization.java.naming.security.credentials=<typeadminuserpasswordhere>

vzx34
Champ in-the-making
Champ in-the-making
this may help others but it turned into a combination of blogs and kind of mix and match to get my configuration correct.


http://andoylang.wordpress.com/2010/07/18/alfresco-with-active-directory/

http://www.ochounos.com/#blog/6

http://blog.infoaxon.com/alfresco-integration-active-directory/1313

vzx34
Champ in-the-making
Champ in-the-making
back to the drawing board.  LDAP authentication worked for awhile, now it doesn't again.  i changed nothing and started having users use it…aaarrr :x


idea's on what went wrong?

mrogers
Star Contributor
Star Contributor
No - you need to give details of what you have configured and where and any errors from your log files.