cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3.0 and Share , do not share LDAP?

jlabuelo
Champ on-the-rise
Champ on-the-rise
Hi all

We have an installation of Alfresco 3.0, and we use the alfresco UI to work. This configuration is included in the LDAP we have so users password are synchronized also with our LDAP system. I am trying to check the Share the alfresco 3.0 has, going to http:ip:8080/share, instead of http://ip:8080/alfresco and the Share login screen appears, however when I try to log in using my alfresco user, says that the user authentication details have not been recognized.

Dont share and alfresco use the same LDAP configuration?. Do I must also configured LDAP for Alfresco Share, and if so, how or where?

Thanks a lot
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
Share does not have independent authentication.

You need to clarify your questions and supply more configuration details.    In particular you mix.the concepts of ldap synchronisation with authentication.   They are separate and independent concepts.

jlabuelo
Champ on-the-rise
Champ on-the-rise
Hi mrogers, and thanks for the reply.

Yes that is what I thought also, however we are not able to log in using the Alfresco Share Login page, but we are able to log in using the Alfresco Explorer Login page.

Our ldap configuration in the file /opt/Alfresco/tomcat/shared/classes/alfresco/extension/ldap-authentication.properties is



ldap.authentication.active=true

ldap.authentication.userNameFormat=cn\=%s,ou\=people,dc\=alfresco,dc\=XXX,dc\=XXX

ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.authentication.java.naming.provider.url=ldap://SErver_IP:389
ldap.authentication.java.naming.security.authentication=simple

ldap.authentication.java.naming.security.principal=cn=admin,dc=alfresco,dc=XXX,dc=XXX
ldap.authentication.java.naming.security.credentials=password

ldap.authentication.escapeCommasInBind=false
ldap.authentication.escapeCommasInUid=false


Also the configuration in the file /opt/Alfresco/tomcat/shared/classes/alfresco/extension/ldap-synchronization.properties is



ldap.synchronization.active=true
ldap.synchronisation.personQuery=(objectclass\=inetOrgPerson)
ldap.synchronisation.personSearchBase=dc\=alfresco,dc\=XXX,dc\=XXX
ldap.synchronisation.userIdAttributeName=cn
ldap.synchronisation.userFirstNameAttributeName=givenName
ldap.synchronisation.userLastNameAttributeName=sn
ldap.synchronisation.userEmailAttributeName=mail
ldap.synchronisation.userOrganizationalIdAttributeName=o
ldap.synchronisation.userOrganizationalAttributeName=ou
ldap.synchronisation.defaultHomeFolderProvider=userHomesHomeFolderProvider
ldap.synchronisation.groupQuery=(objectclass\=groupOfUniqueNames)
ldap.synchronisation.groupSearchBase=dc\=alfresco,dc\=XXXs,dc\=XXX
ldap.synchronisation.groupIdAttributeName=cn
ldap.synchronisation.groupType=groupOfUniqueNames
ldap.synchronisation.personType=inetOrgPerson
ldap.synchronisation.groupMemberAttributeName=uniqueMember
ldap.synchronisation.import.person.cron=0 */10 * * * ?
ldap.synchronisation.import.group.cron=0 */20 * * * ?
ldap.synchronisation.import.group.clearAllChildren=true

synchronization.synchronizeChangesOnly=false
synchronization.syncOnStartup=true
synchronization.syncWhenMissingPeopleLogIn=true
synchronization.autoCreatePeopleOnLogin=false


And as I said, if we go to the login screen for Alfresco Explorer, we are able to log in fine with a given user, (http://Server_IP:8080/alfresco) however if we try to log in in Share with this same user http://Server_IP:8080/share, we get the error message shown in the attachement.

I have reviewed the log files, and nothing is shown…..

Any ideas about how to solve this situation to be able to log in Share??

Thanks a lot!!!


jlabuelo
Champ on-the-rise
Champ on-the-rise
Hi there

       Searching in the forum, I have found that if you change the name of the folder and war file in tomcat/webapps from alfresco and alfresco.war for example to "instance1" and "instance1.war", then users  will not be able to access the default installation of Alfresco Share as Alfresco Share will look for "http://localhost:8080/alfresco" which will not exist.

Which configuration files I must modify to tell Share to access "http://localhost:8080/instance1" instead of "http://localhost:8080/alfresco".??

Thanks a lot in advance.