Ldap and alfresco 5.2 configuration error -
i configuring alfresco use ldap server authentication. followed offecial documentation , updated alfresco-global.properties file dosen't work. using alfresco 5.2 , alfresco-global.properties file , ldap hiarchy.
this ldap-authentication.properties file
# user name format .. ldap.authentication.active=true ldap.authentication.usernameformat=uid\=%s,ou\=users,o\=mojo # ip address or name of ldap server - (port 389 default ldap) ldap.authentication.java.naming.provider.url=ldap://localhost:10389 # enable synchronisation .. ldap.synchronization.active=false # security .. ldap.authentication.java.naming.security.authentication=simple ldap.synchronization.java.naming.security.authentication=simple ldap.synchronization.java.naming.security.principal= ldap.synchronization.java.naming.security.credentials=secret # object class names, ous .. ldap.synchronization.groupquery=(objectclass\=groupofnames) ldap.synchronization.personquery=(objectclass\=inetorgperson) ldap.synchronization.groupsearchbase=ou=groups,o=mojo ldap.synchronization.usersearchbase=ou=users,o=mojo # attribute name on people objects use uid in alfresco ldap.synchronization.useridattributename=uid # attribute on person objects in ldap map first name property in alfresco ldap.synchronization.userfirstnameattributename=givenname # attribute on person objects in ldap map last name property in alfresco ldap.synchronization.userlastnameattributename=sn # attribute on person objects in ldap map email property in alfresco ldap.synchronization.useremailattributename=mail # attribute on group objects map authority name property in alfresco ldap.synchronization.groupidattributename=cn # attribute on group objects map authority display name property in alfresco ldap.synchronization.groupdisplaynameattributename=cn # group type ldap.synchronization.grouptype=groupofnames # person type ldap.synchronization.persontype=inetorgperson # attribute on group objects defines dn members ldap.synchronization.groupmemberattributename=member
this alfresco-global.properties file
############################### ## common alfresco properties # ############################### dir.root=c:/alfres~1/alf_data alfresco.context=alfresco alfresco.host=127.0.0.1 alfresco.port=8080 alfresco.protocol=http share.context=share share.host=127.0.0.1 share.port=8080 share.protocol=http ### database connection properties ### db.driver=org.postgresql.driver db.username=alfresco db.password=admin db.name=alfresco db.url=jdbc:postgresql://localhost:5432/${db.name} # note: database must able accept @ least many connections. please see database documentation instructions on how configure this. db.pool.max=275 db.pool.validate.query=select 1 # server mode. set value here # unknown | test | backup | production system.servermode=unknown ### ftp server configuration ### ftp.port=21 ### rmi registry port jmx ### alfresco.rmi.services.port=50500 ### external executable locations ### ooo.exe=c:/alfres~1/libreo~1/app/libreoffice/program/soffice.exe ooo.enabled=true ooo.port=8100 img.root=c:\\alfresco-community\\imagemagick img.coders=${img.root}\\modules\\coders img.config=${img.root} img.gslib=${img.root}\\lib img.exe=${img.root}\\convert.exe jodconverter.enabled=false jodconverter.officehome=c:/alfres~1/libreo~1/app/libreoffice jodconverter.portnumbers=8100 ### initial admin password ### alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634 ### e-mail site invitation setting ### notification.email.siteinvite=false ### license location ### dir.license.external=c:/alfres~1 ### solr indexing ### index.subsystem.name=solr4 dir.keystore=${dir.root}/keystore solr.host=localhost solr.port.ssl=8443 ### allow extended resultset processing security.anydenydenies=false ### smart folders config properties ### smart.folders.enabled=false ### remote jmx (default: disabled) ### alfresco.jmx.connector.enabled=false ### use alfresco authentication admin accounts , ldap users ### authentication.chain=alfrescontlm1:alfrescontlm,ldap1:ldap ## when testing, set synchronizechangesonly false ## - give full synchronization scheduled synchs synchronization.synchronizechangesonly=false ## set regular synchronization ldap server ## synchronization.syncwhenmissingpeoplelogin=true synchronization.synconstartup=true # when testing, synchronise every 5 minutes # secs min hour dom mon dow synchronization.import.cron=0 */5 * * * ?
**this log error **
2017-04-07 16:06:17,373 info [webscripts.connector.remoteclient] [http-apr-8080-exec-1] error status 500 connection reset java.net.socketexception: connection reset @ java.net.socketinputstream.read(unknown source) @ java.net.socketinputstream.read(unknown source) @ org.apache.http.impl.io.sessioninputbufferimpl.streamread(sessioninputbufferimpl.java:137) @ org.apache.http.impl.io.sessioninputbufferimpl.fillbuffer(sessioninputbufferimpl.java:153) @ org.apache.http.impl.io.sessioninputbufferimpl.readline(sessioninputbufferimpl.java:282) @ org.apache.http.impl.io.chunkedinputstream.getchunksize(chunkedinputstream.java:264) @ org.apache.http.impl.io.chunkedinputstream.nextchunk(chunkedinputstream.java:225) @ org.apache.http.impl.io.chunkedinputstream.read(chunkedinputstream.java:184) @ org.apache.http.conn.eofsensorinputstream.read(eofsensorinputstream.java:137) @ org.apache.http.conn.eofsensorinputstream.read(eofsensorinputstream.java:150) @ org.springframework.extensions.webscripts.connector.remoteclient.copyresponsestreamoutput(remoteclient.java:1390) @ org.alfresco.web.scripts.slingshotremoteclient.copyresponsestreamoutput(slingshotremoteclient.java:199) @ org.springframework.extensions.webscripts.connector.remoteclient.service(remoteclient.java:1269) @ org.springframework.extensions.webscripts.connector.remoteclient.service(remoteclient.java:931) @ org.springframework.extensions.webscripts.connector.remoteclient.call(remoteclient.java:654) @ org.springframework.extensions.webscripts.connector.remoteclient.call(remoteclient.java:624) @ org.springframework.extensions.webscripts.connector.httpconnector.call(httpconnector.java:94) @ org.springframework.extensions.webscripts.connector.authenticatingconnector.call(authenticatingconnector.java:213) @ org.springframework.extensions.webscripts.remotestore.callpost(remotestore.java:722) @ org.springframework.extensions.webscripts.remotestore.createdocument(remotestore.java:436) @ org.springframework.extensions.surf.persister.pathstoreobjectpersister.saveobject(pathstoreobjectpersister.java:164) @ org.springframework.extensions.surf.objectpersistenceservice.saveobject(objectpersistenceservice.java:236) @ org.springframework.extensions.surf.modelobjectservice.saveobject(modelobjectservice.java:518) @ org.springframework.extensions.surf.moduledeploymentservice.getpersistedextension(moduledeploymentservice.java:143) @ org.springframework.extensions.surf.moduledeploymentservice.getextensionmodules(moduledeploymentservice.java:386) @ org.springframework.extensions.surf.moduledeploymentservice.getallconfiguredextensionmodules(moduledeploymentservice.java:353) @ org.springframework.extensions.surf.moduledeploymentservice.getdeployedmodules(moduledeploymentservice.java:471) @ org.springframework.extensions.surf.extensibility.impl.basicextensibilitymodulehandler.evaluatemodules(basicextensibilitymodulehandler.java:191) @ org.springframework.extensions.surf.support.abstractrequestcontext.getevaluatedmodules(abstractrequestcontext.java:1008) @ org.springframework.extensions.surf.support.abstractrequestcontext.getextendingmodulefiles(abstractrequestcontext.java:1221) @ org.springframework.extensions.webscripts.webtemplateprocessor.executescriptbodyextensions(webtemplateprocessor.java:237) @ org.springframework.extensions.webscripts.webtemplateprocessor.executebody(webtemplateprocessor.java:348) @ org.springframework.extensions.surf.render.abstractprocessor.execute(abstractprocessor.java:58) @ org.springframework.extensions.surf.render.renderservice.processtemplate(renderservice.java:724) @ org.springframework.extensions.surf.render.bean.templateinstancerenderer.calculatecomponentdependencies(templateinstancerenderer.java:77) @ org.springframework.extensions.surf.render.bean.templateinstancerenderer.body(templateinstancerenderer.java:136) @ org.springframework.extensions.surf.render.abstractrenderer.render(abstractrenderer.java:78) @ org.springframework.extensions.surf.render.bean.pagerenderer.body(pagerenderer.java:86) @ org.springframework.extensions.surf.render.abstractrenderer.render(abstractrenderer.java:78) @ org.springframework.extensions.surf.render.renderservice.renderpage(renderservice.java:770) @ org.springframework.extensions.surf.mvc.pageview.dispatchpage(pageview.java:412) @ org.springframework.extensions.surf.mvc.pageview.renderview(pageview.java:251) @ org.springframework.extensions.surf.mvc.abstractwebframeworkview.rendermergedoutputmodel(abstractwebframeworkview.java:321) @ org.springframework.web.servlet.view.abstractview.render(abstractview.java:264) @ org.springframework.web.servlet.dispatcherservlet.render(dispatcherservlet.java:1216) @ org.springframework.web.servlet.dispatcherservlet.processdispatchresult(dispatcherservlet.java:1001) @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:945) @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:867) @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:951) @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:842) @ javax.servlet.http.httpservlet.service(httpservlet.java:620) @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:827) @ javax.servlet.http.httpservlet.service(httpservlet.java:727) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:303) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) @ org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) @ org.springframework.extensions.webscripts.servlet.securityheadersfilter.dofilter(securityheadersfilter.java:177) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) @ org.springframework.extensions.webscripts.servlet.csrffilter.dofilter(csrffilter.java:322) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) @ org.alfresco.web.site.servlet.ssoauthenticationfilter.dofilter(ssoauthenticationfilter.java:474) @ org.alfresco.web.site.servlet.ssoauthenticationfilter.dofilter(ssoauthenticationfilter.java:443) @ org.springframework.extensions.webscripts.servlet.beanproxyfilter.dofilter(beanproxyfilter.java:80) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) @ org.alfresco.web.site.servlet.mtauthenticationfilter.dofilter(mtauthenticationfilter.java:81) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:220) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:122) @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:504) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:170) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:103) @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:950) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:116) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:421) @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1074) @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:611) @ org.apache.tomcat.util.net.aprendpoint$socketprocessor.dorun(aprendpoint.java:2466) @ org.apache.tomcat.util.net.aprendpoint$socketprocessor.run(aprendpoint.java:2455) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) @ java.lang.thread.run(unknown source)
Comments
Post a Comment