<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connect LDAP to Alfresco Community in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115012#M31928</link>
    <description>&lt;P&gt;Try performing only third step, and revert the first two steps. It seems in the first step you are overwriting default Authentication subsystem configuration from Alfresco.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Nov 2019 10:44:31 GMT</pubDate>
    <dc:creator>narkuss</dc:creator>
    <dc:date>2019-11-23T10:44:31Z</dc:date>
    <item>
      <title>Connect LDAP to Alfresco Community</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115008#M31924</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried connected LDAP to my Alfresco Community&lt;BR /&gt;First i created folder in \tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap and added file ldap-authentication.properties&lt;BR /&gt;Next i created folder in \tomcat\shared\classes\alfresco\extension\subsystems\Authentication\ldap\ldap1 and added file ldap-authentication.properties&lt;BR /&gt;And finally i added properties to \tomcat\shared\classes\alfresco-global.properties:&lt;/P&gt;&lt;PRE&gt;authentication.chain=alfinst:alfrescoNtlm,ldap1:ldap

ldap.authentication.allowGuestLogin=false
ldap.authentication.userNameFormat=%s@***.local
ldap.authentication.java.naming.provider.url=ldap://localhost:389
ldap.authentication.defaultAdministratorUserNames=Administrator,alfresco
ldap.synchronization.java.naming.security.principal=admin@***.local
ldap.synchronization.java.naming.security.credentials=secret
ldap.synchronization.groupSearchBase=ou=***,dc=***,dc=local
ldap.synchronization.userSearchBase=ou=***,dc=***,dc=local&lt;/PRE&gt;&lt;P&gt;I try running my Alfresco I'm getting an error:&lt;BR /&gt;Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)&lt;/P&gt;&lt;P&gt;Logs:&lt;BR /&gt;- alfrescotomcat-stdout:&lt;/P&gt;&lt;PRE&gt;ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr.AlfrescoCoreAdminHandler@296787a_Worker-2] Tracking failed
	org.alfresco.error.AlfrescoRuntimeException: 10180543 GetModelsDiff return status is 404
	at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
	at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256)
	at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214)
	at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:174)
	at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:190)
	at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found&lt;/PRE&gt;&lt;P&gt;Did anyone have a similar problem?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 12:02:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115008#M31924</guid>
      <dc:creator>putixo</dc:creator>
      <dc:date>2019-11-18T12:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Connect LDAP to Alfresco Community</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115009#M31925</link>
      <description>&lt;P&gt;Scroll up your log, a previous error is happening.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 12:41:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115009#M31925</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-11-18T12:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Connect LDAP to Alfresco Community</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115010#M31926</link>
      <description>&lt;DIV class="tlid-input input"&gt;&lt;DIV class="source-wrap"&gt;&lt;DIV class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;&lt;DIV class="source-input"&gt;&lt;DIV class="source-footer-wrap source-or-target-footer"&gt;&lt;DIV class="character-count tlid-character-count"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="tlid-results-container results-container"&gt;&lt;DIV class="tlid-result result-dict-wrapper"&gt;&lt;DIV class="result tlid-copy-target"&gt;&lt;DIV class="result-header"&gt;&lt;DIV class="starbutton jfk-button-flat jfk-button unstarred"&gt;&lt;DIV class="jfk-button-img"&gt;&lt;SPAN&gt;First error i encountered&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="jfk-button-img"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="jfk-button-img"&gt;&lt;PRE&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeTableCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'tenantAdminService' 
while setting bean property 'tenantAdminService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantAdminService' defined in URL 
[jar:file:/C:/alfresco-community/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-5.2.g.jar!/alfresco/mt/mt-admin-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'nodeService';
 nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 
 'permissionServiceImpl' while setting bean property 'permissionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionServiceImpl' defined in class path 
 resource [alfresco/public-services-security-context.xml]: Cannot resolve reference to bean 'mtAwareNodeService' while setting bean property 'nodeService'; nested exception is 
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object creation; nested exception is 
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeServiceWithMemLocks': FactoryBean threw exception on object creation; nested exception is 
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lockableAspectInterceptor' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 
 'lockService' while setting bean property 'lockService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lockService' defined in class path resource 
 [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'authenticationService' while setting bean property 'authenticationService'; nested exception is org.springframework.beans.factory.BeanCreationException: 
 Error creating bean with name 'authenticationService' defined in class path resource [alfresco/authentication-services-context.xml]: Cannot resolve reference to bean 'Authentication' while setting bean property 
 'applicationContextManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Authentication' defined in class path resource 
 [alfresco/authentication-services-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Invalid type default specified for Authentication subsystem. No context file found
 &lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:42:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115010#M31926</guid>
      <dc:creator>putixo</dc:creator>
      <dc:date>2019-11-18T15:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Connect LDAP to Alfresco Community</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115011#M31927</link>
      <description>&lt;P&gt;Not sure why you did the first step, which was to add something to the exploded Alfresco web app. You should never have to do that.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 18:58:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115011#M31927</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2019-11-22T18:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Connect LDAP to Alfresco Community</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115012#M31928</link>
      <description>&lt;P&gt;Try performing only third step, and revert the first two steps. It seems in the first step you are overwriting default Authentication subsystem configuration from Alfresco.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 10:44:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115012#M31928</guid>
      <dc:creator>narkuss</dc:creator>
      <dc:date>2019-11-23T10:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connect LDAP to Alfresco Community</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115013#M31929</link>
      <description>&lt;P&gt;If you use only one instance of LDAP to authenticate users you only have to set properties through &lt;FONT face="courier new,courier"&gt;alfresco-global.properties&lt;/FONT&gt;. No additional &lt;FONT face="courier new,courier"&gt;ldap-authentication.properties&lt;/FONT&gt; shoud be provided!&lt;/P&gt;&lt;P&gt;If,&amp;nbsp;nevertheless, you want to provide LDAP properties in a separate file then it should be placed at the following path pattern:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;%TOMCAT_HOME%\shared\classes\extension\alfresco\subsystems\Authentication\ldap\&amp;lt;ldapN&amp;gt;\ldap-authentication.properties&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;where&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;lt;ldapN&amp;gt; &lt;FONT face="arial,helvetica,sans-serif"&gt;- is a unique ID of your auth subsystem. In our case &lt;FONT face="courier new,courier"&gt;ldap1&lt;/FONT&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Anyway, properties should be specified in a single place either &lt;FONT face="courier new,courier"&gt;alfresco-global.properties&lt;/FONT&gt; (preferred way) or in separate property file as mentioned above.&lt;/P&gt;&lt;P&gt;Take some time and thoroughly read through the documentation regarding LDAP configuration:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.1/concepts/auth-ldap-intro.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.1/concepts/auth-ldap-intro.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It has all the necessary details to configure LDAP auth properly.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 06:04:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/connect-ldap-to-alfresco-community/m-p/115013#M31929</guid>
      <dc:creator>Vic</dc:creator>
      <dc:date>2019-11-25T06:04:57Z</dc:date>
    </item>
  </channel>
</rss>

