<?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 Authentication problem with Alfresco Mobil with Kerberos authentication and LDAP sync in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/authentication-problem-with-alfresco-mobil-with-kerberos/m-p/282712#M235842</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 have problems to connect to alfresco with LDAP-Users. I activated Kerberos authentication which works perfectly for CIFS and HTTP Share. Users are synced also correctly with my LDAP configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is now, that Kerberos-Usernames and LDAP-Usernames are not in sync, so I cannot login on mobile-app with LDAP-Usersname. I can only connect with Kerberos-User-Name like that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Username that is working in Mobile-APP:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:username@DOMAIN.COM" rel="nofollow noopener noreferrer"&gt;username@DOMAIN.COM&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Username not working in Mobile-APP:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"username"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Username working in Browser-Login:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"username"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;When I log in with "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:username@DOMAIN.COM" rel="nofollow noopener noreferrer"&gt;username@DOMAIN.COM&lt;/A&gt;&lt;SPAN&gt;" with the mobile app, there is a new username created in Alfresco in parallel with the user "username" that comes from LDAP.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I would like to log in always only with "username" and not with "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:username@DOMAIN.COM" rel="nofollow noopener noreferrer"&gt;username@DOMAIN.COM&lt;/A&gt;&lt;SPAN&gt;". So I thin there must be something wrong inside my alfresco-global.properties:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;###Configuring Kerberos authentication&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kerberos.authentication.realm=DOMAIN.COM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kerberos.authentication.sso.enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kerberos.authentication.authenticateCIFS=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kerberos.authentication.user.configEntryName=Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kerberos.authentication.cifs.configEntryName=AlfrescoCIFS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kerberos.authentication.http.configEntryName=AlfrescoHTTP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kerberos.authentication.defaultAdministratorUserNames=Administrator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;kerberos.authentication.stripUsernameSuffix=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;### Configuring AD authentication ###&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.active=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.allowGuestLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.userNameFormat=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.provider.url=ldap://ldap.domain.com:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInBind=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInUid=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.defaultAdministratorUserNames=Administrator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ldap.synchronization.java.naming.security.principal=alfresco_ldap@domain.com" rel="nofollow noopener noreferrer"&gt;ldap.synchronization.java.naming.security.principal=alfresco_ldap@domain.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.queryBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.attributeBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.synchronizeChangesOnly=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.import.cron=0 0/5 * * * ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.allowDeletions=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.modifyTimestampAttributeName=whenChanged&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=DC=domain,DC=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass=group)(memberOf:1.2.840.113556.1.4.1941:=CN=GG_Alfresco,OU=DOMAIN Gruppen,DC=domain,DC=com))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(!(whenChanged&amp;lt;\={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=DC=domain,DC=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass=user)(|(memberOf=CN=alfresco_user,OU=DOMAIN Ressource,DC=domain,DC=com))(userAccountControl:1.2.840.113556.1.4.803:=512))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass=user)(|(memberOf=CN=alfresco_user,OU=DOMAIN Ressource,DC=domain,DC=com))(userAccountControl:1.2.840.113556.1.4.803:=512)(!(whenChanged&amp;lt;={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;############################################&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does someone have an idea where my problem comes from?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;René&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2016 18:54:28 GMT</pubDate>
    <dc:creator>rglauser</dc:creator>
    <dc:date>2016-01-29T18:54:28Z</dc:date>
    <item>
      <title>Authentication problem with Alfresco Mobil with Kerberos authentication and LDAP sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-problem-with-alfresco-mobil-with-kerberos/m-p/282712#M235842</link>
      <description>HiI have problems to connect to alfresco with LDAP-Users. I activated Kerberos authentication which works perfectly for CIFS and HTTP Share. Users are synced also correctly with my LDAP configuration.My problem is now, that Kerberos-Usernames and LDAP-Usernames are not in sync, so I cannot login on</description>
      <pubDate>Fri, 29 Jan 2016 18:54:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-problem-with-alfresco-mobil-with-kerberos/m-p/282712#M235842</guid>
      <dc:creator>rglauser</dc:creator>
      <dc:date>2016-01-29T18:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication problem with Alfresco Mobil with Kerberos authentication and LDAP sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-problem-with-alfresco-mobil-with-kerberos/m-p/282713#M235843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried different things to solve my problem with Alfresco Mobile Application on Android but I am still not able to login even though Login is working correctly with the browser by using UID as Login-ID. Also Kerberos authentication for CIFS and Share SSO is working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to login with Alfresco Mobil I get the following error in the log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 2016-02-09 12:52:04,722&amp;nbsp; DEBUG [app.servlet.KerberosAuthenticationFilter] [ajp-apr-8009-exec-9] Unknown SPNEGO token type&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 2016-02-09 12:52:04,722&amp;nbsp; DEBUG [app.servlet.KerberosAuthenticationFilter] [ajp-apr-8009-exec-9] Clearing session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; 2016-02-09 12:52:04,722&amp;nbsp; DEBUG [app.servlet.KerberosAuthenticationFilter] [ajp-apr-8009-exec-9] Issuing login challenge to browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems, that the mobil-application does not find the alfresco user (synced to alfresco with ldap) when I try to login with UID. In Browser Share I also use the same username and it works perfectly. For kerberos the authentication is done with UID@DOMAIN.LOCAL. This works also for the mobile application but this is not what I expect because, then a new independent user with UID@DOMAIN.LOCAL is created automatically in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My authentication-chain looks as followed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=ldap-ad1:ldap-ad,kerberos1:kerberos,alfrescoNtlm1:alfrescoNtlm&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I understand the online-descriptions in docs.alfresco.com, ldap shout be used before kerberos to authenticate the user. But why the ldap-authentication is not working in the mobile-app but it is in the browser share?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope someone can help me to find the reason of my problem or what could I do to debug this situation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;René&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 12:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-problem-with-alfresco-mobil-with-kerberos/m-p/282713#M235843</guid>
      <dc:creator>rglauser</dc:creator>
      <dc:date>2016-02-09T12:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication problem with Alfresco Mobil with Kerberos authentication and LDAP sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication-problem-with-alfresco-mobil-with-kerberos/m-p/282714#M235844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to give more information: which exact version of Alfresco are you using? Have you tested with CMIS Workbench using HTTP Basic auth?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 00:13:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication-problem-with-alfresco-mobil-with-kerberos/m-p/282714#M235844</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2016-02-13T00:13:26Z</dc:date>
    </item>
  </channel>
</rss>

