<?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 Kerberos problems: Default realm not specified in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/kerberos-problems-default-realm-not-specified/m-p/272802#M225932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to set up authentication and SSO with AD through Kerberos. I've followed the documentation for 4.0 but can't get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my &lt;/SPAN&gt;&lt;EM&gt;kerberos-filter.properties&lt;/EM&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;kerberos.authentication.http.configEntryName=AlfrescoHTTP&lt;BR /&gt;kerberos.authentication.http.password=********&lt;BR /&gt;kerberos.authentication.sso.enabled=true&lt;BR /&gt;kerberos.authentication.browser.ticketLogons=true&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've created this &lt;/SPAN&gt;&lt;EM&gt;krb5.ini&lt;/EM&gt;&lt;SPAN&gt; in &lt;/SPAN&gt;&lt;EM&gt;C:\WINNT&lt;/EM&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&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; MYDOMAIN.LOCAL = {&lt;BR /&gt;&amp;nbsp; kdc = adserver.mydomain.local&lt;BR /&gt;&amp;nbsp; admin_server = adserver.mydomain.local&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;[domain_realm]&lt;BR /&gt; adserver.mydomain.local = MYDOMAIN.LOCAL&lt;BR /&gt; .adserver.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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I try to access the Alfresco application I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'globalAuthenticationFilter' defined in file [C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\kerberos\kerberos-filter-context.xml]: Invocation of init method failed; nested exception is javax.servlet.ServletException: Failed to login HTTP server service&lt;BR /&gt;caused by:&lt;BR /&gt;javax.servlet.ServletException: Failed to login HTTP server service&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is in stdout.log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Caused by: KrbException: Null realm name (601) - default realm not specified &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.security.krb5.KrbAsReq.createMessage(KrbAsReq.java:474)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.security.krb5.KrbAsReq.init(KrbAsReq.java:374)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.security.krb5.KrbAsReq.&amp;lt;init&amp;gt;(KrbAsReq.java:260)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.security.krb5.KrbAsReq.&amp;lt;init&amp;gt;(KrbAsReq.java:61)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.security.krb5.Credentials.sendASRequest(Credentials.java:396)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.security.krb5.Credentials.acquireTGT(Credentials.java:355)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:662)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;… 44 more&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the krb5.ini settings are not used, since the error says that the default realm is not specified. What could be the cause of this? I've also tried to put the file in &lt;/SPAN&gt;&lt;EM&gt;&amp;lt;alfresco&amp;gt;/java/jre/lib/security&lt;/EM&gt;&lt;SPAN&gt;, but that doesn't make any difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have another question on the subject: The 4.0 documentation states that one should change the settings in &lt;/SPAN&gt;&lt;EM&gt;share-config-custom.xml.sample&lt;/EM&gt;&lt;SPAN&gt; to get SSO working with Share and Kerberos, however my share-config-custom.xml.sample does not contain any lines about Kerberos. Am I looking in the wrong place (&amp;lt;alfresco&amp;gt;/tomcat/shared/classes/alfresco/web-extensions).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Dec 2011 14:02:06 GMT</pubDate>
    <dc:creator>gronfelt</dc:creator>
    <dc:date>2011-12-27T14:02:06Z</dc:date>
    <item>
      <title>Kerberos problems: Default realm not specified</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/kerberos-problems-default-realm-not-specified/m-p/272802#M225932</link>
      <description>I'm trying to set up authentication and SSO with AD through Kerberos. I've followed the documentation for 4.0 but can't get it to work.This is my kerberos-filter.propertieskerberos.authentication.http.configEntryName=AlfrescoHTTPkerberos.authentication.http.password=********kerberos.authentication.s</description>
      <pubDate>Tue, 27 Dec 2011 14:02:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/kerberos-problems-default-realm-not-specified/m-p/272802#M225932</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2011-12-27T14:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos problems: Default realm not specified</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/kerberos-problems-default-realm-not-specified/m-p/272803#M225933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I gave up on getting this to work in Windows, and instead installed the Linux version of Alfresco on CentOS. This also meant going from 4.0b to 4.0c and now everything works as expected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 07:53:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/kerberos-problems-default-realm-not-specified/m-p/272803#M225933</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2012-01-02T07:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos problems: Default realm not specified</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/kerberos-problems-default-realm-not-specified/m-p/272804#M225934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi gronfelt ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also getting same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you please tell why you shift to linux ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can you suggest me how to solve this in windows?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 12:27:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/kerberos-problems-default-realm-not-specified/m-p/272804#M225934</guid>
      <dc:creator>aditya_chaudhar</dc:creator>
      <dc:date>2015-02-06T12:27:10Z</dc:date>
    </item>
  </channel>
</rss>

