<?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 Deployed Records Management -&amp;gt; Blew away my authentication in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deployed-records-management-gt-blew-away-my-authentication/m-p/309065#M262195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I'm running 4.2d Community Edition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using LDAP-AD for sync and PASSTHRU for authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Today I tried to deploy the Records Management module for testing. I ran the amp deploy script after moving the amps into amps/ and amps_share/, I ran the script while Alfresco was running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After the script reported it was complete, Alfresco was using a lot of CPU and Tomcat stopped serving Alfresco. I then figured I would wait as it may be processing something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After 20 minutes I nicely restarted Alfresco, and it came back up. Only to discover my Authentication chain had been blown away.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had declared my auth chain in repository.properties, and had moved my modified auth subsystems into the relevant shared folders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had at first thought that my subsystems had been blown away too, but I was looking in the wrong folder. I had misread a part of the auth subsystems manual page, and was trying to re-create them in "$TOMCAT_HOME/shared/classes/alfresco/extension/subsystems/Authentication" when I should have checked "$TOMCAT_HOME/shared/classes/alfresco/subsystems/Authentication" instead, and would have discovered my subsystems intact.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, now that I have discovered this, I have tried to re-use the subsystems. I tried to instead add the auth chain configuration to alfresco-globa.properties , only to discover Alfresco seems to now be ignoring my custom subsystems altogether.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried re-adding the chain to the repository.properties file, and again, ignoring them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do I think it's ignoring them? Well first off, it's complaining about default settings, like defaultcompany kind of thing. Also cannot create passthru domain bean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm at a loss as to what I've done here and what I can do. Help please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; 2013-11-26 15:39:48,620&amp;nbsp; ERROR [authentication.ldap.LDAPInitialDirContextFactoryImpl] [localhost-startStop-1] Unable to connect to LDAP Server; check LDAP configuration&lt;BR /&gt; javax.naming.CommunicationException: domaincontroller.company.com:389 [Root exception is java.net.ConnectException: Connection timed out]&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 22:39:39 GMT</pubDate>
    <dc:creator>bloodyiron</dc:creator>
    <dc:date>2013-11-26T22:39:39Z</dc:date>
    <item>
      <title>Deployed Records Management -&gt; Blew away my authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployed-records-management-gt-blew-away-my-authentication/m-p/309065#M262195</link>
      <description>So I'm running 4.2d Community Edition.I was using LDAP-AD for sync and PASSTHRU for authentication.Today I tried to deploy the Records Management module for testing. I ran the amp deploy script after moving the amps into amps/ and amps_share/, I ran the script while Alfresco was running.After the sc</description>
      <pubDate>Tue, 26 Nov 2013 22:39:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployed-records-management-gt-blew-away-my-authentication/m-p/309065#M262195</guid>
      <dc:creator>bloodyiron</dc:creator>
      <dc:date>2013-11-26T22:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deployed Records Management -&gt; Blew away my authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployed-records-management-gt-blew-away-my-authentication/m-p/309066#M262196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So in attempting to resolve this issue I've found a discrepancy in the documentation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When copying the subsystem to the shared folder (outlined below), the documentation suggests a peculiar way to rename it, which doesn't work, and doesn't match what it describes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I copy the relevant subsystem, in this example ldap to this folder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;$TOMCAT_HOME/shared/classes/alfresco/subsystems/Authentication/ldap&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now since I'm modifying that subsystem it's a good idea to rename the folder so that it doesn't overlap with the default ldap subsystem. But here's the problem. The documentation recommends the folder location changes too. The documentation recommends moving it and renaming it to the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;$TOMCAT_HOME/shared/classes/alfresco/subsystems/Authentication/ldap/myldap&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then in that "myldap" folder is your ldap configs. Then the Documentation recommends the chain entry be myldap:myldap . The second one being the type, the first one being the name. This doesn't work. What I had to do was this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;$TOMCAT_HOME/shared/classes/alfresco/subsystems/Authentication/myldap&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And now using myldap:myldap works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other parts of the documentation are a bit confusing. Initially I was doing myldap:ldap, and having it under the subfolder as suggested above, which didn't work, it just ended up loading the default subsystem, not the one I had configured under shared.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So now my Auth subsystems work. I did not lose users at all, oddly enough, or permissions. So that's good.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 17:27:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployed-records-management-gt-blew-away-my-authentication/m-p/309066#M262196</guid>
      <dc:creator>bloodyiron</dc:creator>
      <dc:date>2013-11-27T17:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deployed Records Management -&gt; Blew away my authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployed-records-management-gt-blew-away-my-authentication/m-p/309067#M262197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which page of documentation is wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your configuration settings, including your auth chain settings should be in&amp;nbsp; $TOMCAT_HOME/shared/classes/alfresco-global.properties.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For a simple configuration (only one ldap server) there's no need to touch the subsystem configuration at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your configuration should be under $TOMCAT_HOME/shared/classes/alfresco/extension/subsystems/Authentication/ldap/myldap&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your chain should contain myldap:ldap&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 17:52:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployed-records-management-gt-blew-away-my-authentication/m-p/309067#M262197</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-11-27T17:52:38Z</dc:date>
    </item>
  </channel>
</rss>

