<?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 SSO configuration in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/kerberos-sso-configuration/m-p/133346#M35922</link>
    <description>&lt;P&gt;Hi guys. I'm trying to set up Kerberos + SSO on alfresco 5.2 server based on this tutorial &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-hub/configuring-the-cifs-and-web-servers-for-kerberos-ad-integration/ba-p/289479" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-hub/configuring-the-cifs-and-web-servers-for-kerberos-ad-integration/ba-p/289479&lt;/A&gt;.&lt;BR /&gt;But I'm getting&lt;BR /&gt;ERROR [org.alfresco.web.site.servlet.SSOAuthenticationFilter] [localhost-startStop-1] HTTP Kerberos web filter error&lt;BR /&gt;javax.security.auth.login.LoginException: Unable to obtain password from user&lt;/P&gt;&lt;P&gt;Any&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created AD users myalfcifs and myalfhttp and enabled Do not require Kerberos preauthentication options in the Account Options. Created key tables with&lt;BR /&gt;ktpass -princ cifs/alfresco.mycomp.com@MYCOMP.COM -pass D password1 -mapuser mycomp\myalfcifs -crypto all -ptype KRB5_NT_PRINCIPAL -out c:\temp\myalfcifs .keytab -kvno 0&lt;BR /&gt;and&lt;BR /&gt;ktpass -princ HTTP/alfresco.mycomp.com@MYCOMP.COM -pass D password2 -mapuser mycomp\myalfhttp -crypto all -ptype KRB5_NT_PRINCIPAL -out c:\temp\myalfhttp .keytab -kvno 0&lt;BR /&gt;Created SPN&lt;BR /&gt;setspn -a cifs/alfresco myalfcifs&lt;BR /&gt;setspn -a cifs/alfresco myalfhttp&lt;/P&gt;&lt;P&gt;I'm not sure whether I should my username myalfcifs/http instead of AlfrescoCIFS/HTTP to in java.login.config (tried both ways with no difference)&lt;/P&gt;&lt;P&gt;AlfrescoCIFS {&lt;BR /&gt;com.sun.security.auth.module.Krb5LoginModule required&lt;BR /&gt;storeKey=true&lt;BR /&gt;useKeyTab=true&lt;BR /&gt;keyTab="/etc/keys/myalfcifs.keytab"&lt;BR /&gt;principal="cifs/alfresco.mycomp.com";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;related alfresco-global.properties configuration:&lt;/P&gt;&lt;P&gt;authentication.chain=ldap1:ldap-ad,kerberos1:kerberos&lt;/P&gt;&lt;P&gt;ntlm.authentication.sso.enabled=false&lt;BR /&gt;ntlm.authentication.browser.ticketLogons=true&lt;BR /&gt;ldap.authentication.active=false&lt;BR /&gt;ldap.authentication.userNameFormat=%s&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://dc.mycomp.com:389&lt;/P&gt;&lt;P&gt;synchronization.synchronizeChangesOnly=false&lt;BR /&gt;synchronization.import.cron=0 2 * * * ?&lt;BR /&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;BR /&gt;synchronization.autoCreatePeopleOnLogin=true&lt;/P&gt;&lt;P&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.queryBatchSize=1000&lt;BR /&gt;ldap.synchronization.java.naming.security.authenticaton=simple&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=user_alfresco@mycomp.com&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=Password&lt;BR /&gt;ldap.synchronization.groupSearchBase=dc\=mycomp,dc\=com&lt;BR /&gt;ldap.synchronization.userSearchBase=dc\=mycomp,dc\=com&lt;/P&gt;&lt;P&gt;### Kerberos properties ###&lt;BR /&gt;kerberos.authentication.sso.enabled=true&lt;BR /&gt;kerberos.authentication.defaultAdministratorUserNames=admin&lt;BR /&gt;kerberos.authentication.user.configEntryName=Alfresco&lt;BR /&gt;kerberos.authentication.cifs.configEntryName=myalfcifs&lt;BR /&gt;kerberos.authentication.cifs.password=password1&lt;BR /&gt;kerberos.authentication.http.configEntryName=myalfhttp&lt;BR /&gt;kerberos.authentication.http.password=password2&lt;BR /&gt;kerberos.authentication.authenticateCIFS=true&lt;BR /&gt;kerberos.authentication.realm=MYCOMP.COM&lt;BR /&gt;kerberos.authentication.stripUsernameSuffix=true&lt;BR /&gt;kerberos.authentication.browser.ticketLogons=true&lt;BR /&gt;kerberos.authentication.sso.fallback.enabled=true&lt;/P&gt;&lt;P&gt;share-config-custom.xml Kerberos settings:&lt;/P&gt;&lt;P&gt;&amp;lt;!-- To enable kerberos rename this condition to "Kerberos" --&amp;gt;&lt;BR /&gt;&amp;lt;config evaluator="string-compare" condition="Kerberos" replace="true"&amp;gt;&lt;BR /&gt;&amp;lt;kerberos&amp;gt;&lt;BR /&gt;&amp;lt;password&amp;gt;password2&amp;lt;/password&amp;gt;&lt;BR /&gt;&amp;lt;realm&amp;gt;MYCOMP.COM&amp;lt;/realm&amp;gt;&lt;BR /&gt;&amp;lt;endpoint-spn&amp;gt;HTTP/alfresco.mycomp.com@MYCOMP.COM&amp;lt;/endpoint-spn&amp;gt;&lt;BR /&gt;&amp;lt;config-entry&amp;gt;ShareHTTP&amp;lt;/config-entry&amp;gt;&lt;BR /&gt;&amp;lt;stripUserNameSuffix&amp;gt;true&amp;lt;/stripUserNameSuffix&amp;gt;&lt;BR /&gt;&amp;lt;/kerberos&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;gt;&lt;/P&gt;&lt;P&gt;+ uncommented &amp;lt;config evaluator="string-compare" condition="Remote"&amp;gt; sections&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 06:28:22 GMT</pubDate>
    <dc:creator>statira</dc:creator>
    <dc:date>2021-01-14T06:28:22Z</dc:date>
    <item>
      <title>Kerberos SSO configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/kerberos-sso-configuration/m-p/133346#M35922</link>
      <description>&lt;P&gt;Hi guys. I'm trying to set up Kerberos + SSO on alfresco 5.2 server based on this tutorial &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-hub/configuring-the-cifs-and-web-servers-for-kerberos-ad-integration/ba-p/289479" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-hub/configuring-the-cifs-and-web-servers-for-kerberos-ad-integration/ba-p/289479&lt;/A&gt;.&lt;BR /&gt;But I'm getting&lt;BR /&gt;ERROR [org.alfresco.web.site.servlet.SSOAuthenticationFilter] [localhost-startStop-1] HTTP Kerberos web filter error&lt;BR /&gt;javax.security.auth.login.LoginException: Unable to obtain password from user&lt;/P&gt;&lt;P&gt;Any&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created AD users myalfcifs and myalfhttp and enabled Do not require Kerberos preauthentication options in the Account Options. Created key tables with&lt;BR /&gt;ktpass -princ cifs/alfresco.mycomp.com@MYCOMP.COM -pass D password1 -mapuser mycomp\myalfcifs -crypto all -ptype KRB5_NT_PRINCIPAL -out c:\temp\myalfcifs .keytab -kvno 0&lt;BR /&gt;and&lt;BR /&gt;ktpass -princ HTTP/alfresco.mycomp.com@MYCOMP.COM -pass D password2 -mapuser mycomp\myalfhttp -crypto all -ptype KRB5_NT_PRINCIPAL -out c:\temp\myalfhttp .keytab -kvno 0&lt;BR /&gt;Created SPN&lt;BR /&gt;setspn -a cifs/alfresco myalfcifs&lt;BR /&gt;setspn -a cifs/alfresco myalfhttp&lt;/P&gt;&lt;P&gt;I'm not sure whether I should my username myalfcifs/http instead of AlfrescoCIFS/HTTP to in java.login.config (tried both ways with no difference)&lt;/P&gt;&lt;P&gt;AlfrescoCIFS {&lt;BR /&gt;com.sun.security.auth.module.Krb5LoginModule required&lt;BR /&gt;storeKey=true&lt;BR /&gt;useKeyTab=true&lt;BR /&gt;keyTab="/etc/keys/myalfcifs.keytab"&lt;BR /&gt;principal="cifs/alfresco.mycomp.com";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;related alfresco-global.properties configuration:&lt;/P&gt;&lt;P&gt;authentication.chain=ldap1:ldap-ad,kerberos1:kerberos&lt;/P&gt;&lt;P&gt;ntlm.authentication.sso.enabled=false&lt;BR /&gt;ntlm.authentication.browser.ticketLogons=true&lt;BR /&gt;ldap.authentication.active=false&lt;BR /&gt;ldap.authentication.userNameFormat=%s&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://dc.mycomp.com:389&lt;/P&gt;&lt;P&gt;synchronization.synchronizeChangesOnly=false&lt;BR /&gt;synchronization.import.cron=0 2 * * * ?&lt;BR /&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;BR /&gt;synchronization.autoCreatePeopleOnLogin=true&lt;/P&gt;&lt;P&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.queryBatchSize=1000&lt;BR /&gt;ldap.synchronization.java.naming.security.authenticaton=simple&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=user_alfresco@mycomp.com&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=Password&lt;BR /&gt;ldap.synchronization.groupSearchBase=dc\=mycomp,dc\=com&lt;BR /&gt;ldap.synchronization.userSearchBase=dc\=mycomp,dc\=com&lt;/P&gt;&lt;P&gt;### Kerberos properties ###&lt;BR /&gt;kerberos.authentication.sso.enabled=true&lt;BR /&gt;kerberos.authentication.defaultAdministratorUserNames=admin&lt;BR /&gt;kerberos.authentication.user.configEntryName=Alfresco&lt;BR /&gt;kerberos.authentication.cifs.configEntryName=myalfcifs&lt;BR /&gt;kerberos.authentication.cifs.password=password1&lt;BR /&gt;kerberos.authentication.http.configEntryName=myalfhttp&lt;BR /&gt;kerberos.authentication.http.password=password2&lt;BR /&gt;kerberos.authentication.authenticateCIFS=true&lt;BR /&gt;kerberos.authentication.realm=MYCOMP.COM&lt;BR /&gt;kerberos.authentication.stripUsernameSuffix=true&lt;BR /&gt;kerberos.authentication.browser.ticketLogons=true&lt;BR /&gt;kerberos.authentication.sso.fallback.enabled=true&lt;/P&gt;&lt;P&gt;share-config-custom.xml Kerberos settings:&lt;/P&gt;&lt;P&gt;&amp;lt;!-- To enable kerberos rename this condition to "Kerberos" --&amp;gt;&lt;BR /&gt;&amp;lt;config evaluator="string-compare" condition="Kerberos" replace="true"&amp;gt;&lt;BR /&gt;&amp;lt;kerberos&amp;gt;&lt;BR /&gt;&amp;lt;password&amp;gt;password2&amp;lt;/password&amp;gt;&lt;BR /&gt;&amp;lt;realm&amp;gt;MYCOMP.COM&amp;lt;/realm&amp;gt;&lt;BR /&gt;&amp;lt;endpoint-spn&amp;gt;HTTP/alfresco.mycomp.com@MYCOMP.COM&amp;lt;/endpoint-spn&amp;gt;&lt;BR /&gt;&amp;lt;config-entry&amp;gt;ShareHTTP&amp;lt;/config-entry&amp;gt;&lt;BR /&gt;&amp;lt;stripUserNameSuffix&amp;gt;true&amp;lt;/stripUserNameSuffix&amp;gt;&lt;BR /&gt;&amp;lt;/kerberos&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;gt;&lt;/P&gt;&lt;P&gt;+ uncommented &amp;lt;config evaluator="string-compare" condition="Remote"&amp;gt; sections&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 06:28:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/kerberos-sso-configuration/m-p/133346#M35922</guid>
      <dc:creator>statira</dc:creator>
      <dc:date>2021-01-14T06:28:22Z</dc:date>
    </item>
  </channel>
</rss>

