<?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 CIFS &amp; Kerberos Configuration in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249780#M202910</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'm have trouble to configure Kerberos for CIFS with my alfresco 4. The Active Directory authentication is working for all http connection, but I'm using ldap-ad instead of kerberos. CIFS is also working but only with Alfresco accounts not with AD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed this guide to setup kerberos: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-kerberos-ADconfig.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-kerberos-ADconfig.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerberos seems ok for the system as I can use the "kinit &amp;lt;MyUserName&amp;gt;" command to create a ticket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I modified the alfresco-global.properties to add the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;### CIFS ###&lt;BR /&gt;cifs.enabled=true&lt;BR /&gt;cifs.domain=MYADDOMAIN.LOCAL&lt;BR /&gt;cifs.serverName=srvfcch-cms01&lt;BR /&gt;cifs.hostannounce=true&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;### Kerberos ###&lt;BR /&gt;kerberos.authentication.authenticateCIFS=true&lt;BR /&gt;kerberos.authentication.realm=MYADDOMAIN.LOCAL&lt;BR /&gt;kerberos.authentication.user.configEntryName=Alfresco&lt;BR /&gt;kerberos.authentication.cifs.configEntryName=AlfrescoCIFS&lt;BR /&gt;kerberos.authentication.http.configEntryName=AlfrescoHTTP&lt;BR /&gt;kerberos.authentication.cifs.password=Secret&lt;BR /&gt;kerberos.authentication.http.password=Secret&lt;BR /&gt;kerberos.authentication.defaultAdministratorUserNames=administrator&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;/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;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;/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;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not changed the autehtication chain to add kerberos, but as I understood the chain is only for the web auth right ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I tried to reach the CIFS server from my WinXP I can see the following in the catalina.out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; 2012-06-01 09:24:19,705&amp;nbsp; ERROR [smb.protocol.auth] [AlfJLANWorker10] Kerberos logon error&lt;BR /&gt; 2012-06-01 09:24:19,706&amp;nbsp; ERROR [smb.protocol.auth] [AlfJLANWorker10] java.lang.NullPointerException&lt;BR /&gt; 2012-06-01 09:24:19,712&amp;nbsp; ERROR [smb.protocol.auth] [AlfJLANWorker11] Kerberos logon error&lt;BR /&gt; 2012-06-01 09:24:19,727&amp;nbsp; ERROR [smb.protocol.auth] [AlfJLANWorker11] java.lang.NullPointerException&lt;BR /&gt; 2012-06-01 09:24:29,486&amp;nbsp; ERROR [smb.protocol.auth] [AlfJLANWorker14] Kerberos logon error&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to say that I'm a bit lost, and I don't where to start to debug the problem. Most of the doc I found on the net are for older version od Alfresco, and the config seems to be quite different..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is warmly welcome !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lucas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2012 07:51:42 GMT</pubDate>
    <dc:creator>lux209</dc:creator>
    <dc:date>2012-06-01T07:51:42Z</dc:date>
    <item>
      <title>CIFS &amp; Kerberos Configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249780#M202910</link>
      <description>Hi,I'm have trouble to configure Kerberos for CIFS with my alfresco 4. The Active Directory authentication is working for all http connection, but I'm using ldap-ad instead of kerberos. CIFS is also working but only with Alfresco accounts not with AD.I followed this guide to setup kerberos: http://d</description>
      <pubDate>Fri, 01 Jun 2012 07:51:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249780#M202910</guid>
      <dc:creator>lux209</dc:creator>
      <dc:date>2012-06-01T07:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS &amp; Kerberos Configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249781#M202911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A Null pointer exception is always a bug that needs to be raised in JIRA with as much information as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can get a stack trace it will help very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 08:27:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249781#M202911</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-06-01T08:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS &amp; Kerberos Configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249782#M202912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, but my config is standard and I've installed Alfresco with the all in one package. So I don't understand why it is not woking, does it work for other people ? Or is it a bug ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will raised it with Jira, how can I get a stack trace ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 08:40:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249782#M202912</guid>
      <dc:creator>lux209</dc:creator>
      <dc:date>2012-06-01T08:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS &amp; Kerberos Configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249783#M202913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok it is working now ! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the authentication chain, removed my ldap-ad and added kerberos and now it is working quite well ! I don't know why I thought the auth chain was only for the web access.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 11:47:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249783#M202913</guid>
      <dc:creator>lux209</dc:creator>
      <dc:date>2012-06-01T11:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS &amp; Kerberos Configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249784#M202914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi lux209, you can post how are now you chain string in alfresco-global.properties, and if you have no problem you could stick your whole alfresco.global.properties to learn.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are making our first pilot tested with Alfresco and I see that you have yours working very well, if you can do would be helpful to us and we can take some SETTINGS reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Cristian.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UTN Facultad Regional Delta&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Campana, Buenos Aires&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Argentina.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 18:16:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249784#M202914</guid>
      <dc:creator>pac22</dc:creator>
      <dc:date>2012-07-02T18:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS &amp; Kerberos Configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249785#M202915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi here is my auth chain:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;authentication.chain=kerberos1:kerberos,alfrescoNtlm1:alfrescoNtlm&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;SPAN&gt;I also had to change the /etc/krb5.conf file, the information I found in this setup guide (&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-kerberos-ADconfig.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-kerberos-ADconfig.html&lt;/A&gt;&lt;SPAN&gt;) was not complete. Here is my krb5.conf file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;[logging]&lt;BR /&gt; default = FILE:/var/log/krb5libs.log&lt;BR /&gt; kdc = FILE:/var/log/krb5kdc.log&lt;BR /&gt; admin_server = FILE:/var/log/kadmind.log&lt;BR /&gt;&lt;BR /&gt;[libdefaults]&lt;BR /&gt; default_realm = MYDOMAIN.LOCAL&lt;BR /&gt; default_tkt_enctypes = rc4-hmac&lt;BR /&gt; default_tgs_enctypes = rc4-hmac&lt;BR /&gt;&lt;BR /&gt;[realms]&lt;BR /&gt; FISCHERCONNECTORS.LOC = {&lt;BR /&gt;&amp;nbsp; kdc = myDC.mydomain.local&lt;BR /&gt;&amp;nbsp; kpasswd_server = myDC.mydomain.local&lt;BR /&gt;&amp;nbsp; admin_server = myDC.mydomain.local&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;[domain_realm]&lt;BR /&gt; myDC.mydomain.local = MYDOMAIN.LOCAL&lt;BR /&gt; .myDC.mydomain.local = MYDOMAIN.LOCAL&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;/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;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;/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;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;BR /&gt;&lt;SPAN&gt;Hope it helped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lucas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 08:40:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cifs-kerberos-configuration/m-p/249785#M202915</guid>
      <dc:creator>lux209</dc:creator>
      <dc:date>2012-07-03T08:40:48Z</dc:date>
    </item>
  </channel>
</rss>

