<?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 Alfresco 1.4, JBOSS, JAAS and Cifs Help required in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53175#M31422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are running alfresco on jboss on solaris and are having problems getting the CIFS server to run when we enable JAAS to authenticate users to the web interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our configurations are similar to the posting &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?p=15413&amp;amp;sid=59b9f09eadae37dcc5418f8c38cec46e" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?p=15413&amp;amp;sid=59b9f09eadae37dcc5418f8c38cec46e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but we have run into two problems. The first we have worked around in that we had to modify the /&amp;lt;jboss&amp;gt;/server/default/conf/login-config.xml to enable&amp;nbsp; JAAS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So now we can login to web pages via JAAS and webdav but when alfresco starts we get the following error &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;17:23:38,905 ERROR [protocol] CIFS server configuration error, Wrong authentication setup for alfresco authenticator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.error.AlfrescoRuntimeException: Wrong authentication setup for alfresco authenticator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.filesys.server.config.ServerConfiguration.processSecurityConfig(ServerConfiguration.java:1777)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.filesys.server.config.ServerConfiguration.init(ServerConfiguration.java:514)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.filesys.server.config.ServerConfiguration.onBootstrap(ServerConfiguration.java:3351)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems as if the file-servers-custom.xml file is not having any effect on the cifs server. Is this our problem in that we should be editing the default configuration files in the application WAR or is it another case of jboss setup being different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other issue I have is how to integrate cifs with AD when the server is a unix box. How do I add the box to the domain (samba?) so that I can run the setspn -a alfresco-cifs/&amp;lt;server-name&amp;gt; &amp;lt;server-name&amp;gt; command from &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Configuring_the_CIFS_server_for_Kerberos/Active_Directory_integration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Configuring_the_CIFS_server_for_Kerberos/Active_Directory_integration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2007 05:08:46 GMT</pubDate>
    <dc:creator>mattc</dc:creator>
    <dc:date>2007-01-22T05:08:46Z</dc:date>
    <item>
      <title>Alfresco 1.4, JBOSS, JAAS and Cifs Help required</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53175#M31422</link>
      <description>HiWe are running alfresco on jboss on solaris and are having problems getting the CIFS server to run when we enable JAAS to authenticate users to the web interface.Our configurations are similar to the posting http://forums.alfresco.com/viewtopic.php?p=15413&amp;amp;sid=59b9f09eadae37dcc5418f8c38cec46eb</description>
      <pubDate>Mon, 22 Jan 2007 05:08:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53175#M31422</guid>
      <dc:creator>mattc</dc:creator>
      <dc:date>2007-01-22T05:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 1.4, JBOSS, JAAS and Cifs Help required</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53176#M31423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to figure it out (well most of it). The first problem was that the default configuration directory had a copy of file-server-custom.xml file in the extension directory (&amp;lt;alfresco&amp;gt;/jboss/server/default/tmp/deploy/tmp*&lt;/SPAN&gt;&lt;A href="http://alfresco.war/WEB-INF/classes/alfresco/extension" rel="nofollow noopener noreferrer"&gt;alfresco.war/WEB-INF/classes/alfresco/extension&lt;/A&gt;&lt;SPAN&gt;). So the one in the normal extension folder (&amp;lt;alfresco&amp;gt;/jboss/server/default/conf/alfresco/extension) was never being read.&amp;nbsp; We expanded the alfresco.war&amp;nbsp; file, deleted the extra file-server-custom.xml file and remade the war. Now the cifs server starts up using the file-server-custom.xml file from the normal extension folder (we also needed to remove the .sample extension from network-protocol-context.xml.sample).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not all fixed yet but at least the cifs server is now trying to connect to the AD servers. Now I just need to configure the AD connector (which I now have working for our tomcat/alfresco install).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a Bug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 05:09:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53176#M31423</guid>
      <dc:creator>mattc</dc:creator>
      <dc:date>2007-01-23T05:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 1.4, JBOSS, JAAS and Cifs Help required</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53177#M31424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same issue.&amp;nbsp; Can you describe your war rebuilding solution in more detail?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 23:39:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53177#M31424</guid>
      <dc:creator>paul_jacobs</dc:creator>
      <dc:date>2007-02-07T23:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 1.4, JBOSS, JAAS and Cifs Help required</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53178#M31425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Paul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on the above comments there are two file-server-custom.xml files. One in the standard "extension" directory that should be there and one that appears accidentally (maybe intentionally) bundled into the alfresco.war file. Actually there may be three if your jboss explodes war files upon deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can cheat and just edit "file-servers.xml" file, though most will say not to do that (by the time you upgrade you will have forgotten that you made that change, plus a re-deploy of the war could over-write the file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second is removing the offending file entirely. The exact jar commands maybe a bit off as i'm going by memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Find "alfresco.war".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2a. On unix extract the archive with "jar -xvf alfresco.war" this assumes you have your path correctly set to run the jar command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2b. On windows, open the archive the same way via a command prompt or use an archive tool like 7-zip (my preference when I have to windows).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Find the file "file-server-custom.xml" and delete it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4a. On unix re-create the alfresco.war file with "jar -cvf alfresco.war alfresco"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4b.&amp;nbsp; On windows if using jar see step 4a otherwise just close the archive in 7-zip and it will prompt then save the updated version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Restart jboss.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The offending path will be "alfresco\WEB-INF\classes\alfresco\extension\file-server-custom.xml" in the webapp root of jboss.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should do the trick.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 03:54:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-1-4-jboss-jaas-and-cifs-help-required/m-p/53178#M31425</guid>
      <dc:creator>prototribe</dc:creator>
      <dc:date>2007-02-09T03:54:18Z</dc:date>
    </item>
  </channel>
</rss>

