<?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 NTLM SSO with CMIS in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ntlm-sso-with-cmis/m-p/301947#M255077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to set up a simple Alfresco installation with NTLM SSO authentication. Since this is for testing purposes, I’m free to use passthru or just alfrescoNtlm. I tried both possibilities and everything worked quite well with Alfresco share, i.e. I wasn’t prompted for my password when accessing &lt;/SPAN&gt;&lt;A href="http://myalfrescoserver:8080/share" rel="nofollow noopener noreferrer"&gt;http://myalfrescoserver:8080/share&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Still, I get errors when trying to connect via CMIS: “Forbidden: Permission Denied” with OpenCmis and “Unauthorized” with DotCmis. Sadly, it doesn't say anything else. The only thing I found was in localhost_access-log : "GET /alfresco/cmisatom HTTP/1.1" 401 995.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at this thread:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/10519347/how-to-access-cmis-without-a-password" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/10519347/how-to-access-cmis-without-a-password&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; it should definitely work somehow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I’m new to the whole authentification business so I’m unsure whether or not I made the right changes in alfresco-global.properties or if there are changes (except for share-config-custom.xml) needed to be done in other files for CMIS to work correctly. Or could it be that this problem stems from a completely different point in my infrastructure?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the corresponding part of my alfresco-global.properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ntlm.authentication.sso.enabled=true&lt;BR /&gt;authentication.chain=passthru1:passthru,alfrescoNtlm1:alfrescoNtlm,ldap1:ldap&lt;BR /&gt;&lt;BR /&gt;passthru.authentication.sso.enabled=true&lt;BR /&gt;passthru.authentication.allowGuestLogin=false&lt;BR /&gt;passthru.authentication.authenticateCIFS=false&lt;BR /&gt;passthru.authentication.authenticateFTP=false&lt;BR /&gt;&lt;BR /&gt;passthru.authentication.servers=myldapserver.com&lt;BR /&gt;passthru.authentication.domain=&lt;BR /&gt;passthru.authentication.useLocalServer=false&lt;BR /&gt;passthru.authentication.defaultAdministratorUserNames=Administrator&lt;BR /&gt;passthru.authentication.connectTimeout=5000&lt;BR /&gt;passthru.authentication.offlineCheckInterval=300&lt;BR /&gt;passthru.authentication.protocolOrder=TCPIP,NETBIOS&lt;BR /&gt;&lt;BR /&gt;ldap.authentication.active=false&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.userNameFormat=%s&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://myldapserver.com:389&lt;BR /&gt;&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=myldapusername&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=myldappassword&lt;BR /&gt;ldap.synchronization.queryBatchSize=1000&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass=group)(!(modifyTimestamp&amp;lt;\={0})))&lt;BR /&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp; (objectclass=user)(!(modifyTimestamp&amp;lt;\={0})))&lt;BR /&gt;ldap.synchronization.groupQuery=(objectclass\=group)&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.groupSearchBase=OU=Alfresco,DC=mydomain,DC=com&lt;BR /&gt;ldap.synchronization.userSearchBase=OU=Alfresco,DC=mydomain,DC=com&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;BR /&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;BR /&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;BR /&gt;ldap.synchronization.userEmailAttributeName=mail&lt;BR /&gt;ldap.synchronization.userOrganizationalIdAttributeName=msExchALObjectVersion&lt;BR /&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider&lt;BR /&gt;ldap.synchronization.groupIdAttributeName=cn&lt;BR /&gt;ldap.synchronization.groupType=group&lt;BR /&gt;ldap.synchronization.personType=user&lt;BR /&gt;ldap.synchronization.groupMemberAttributeName=member&lt;BR /&gt;&lt;BR /&gt;synchronization.synchronizeChangesOnly=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;/SP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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;BR /&gt;&lt;SPAN&gt;This is the code I use for CMIS (using DotCmis 0.6):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Dictionary&amp;lt;string, string&amp;gt; parameters = new Dictionary&amp;lt;string, string&amp;gt;();&lt;BR /&gt;parameters[SessionParameter.AtomPubUrl] = "https://&amp;lt;alfrescoserver&amp;gt;:8443/alfresco/cmisatom";&lt;BR /&gt;parameters[SessionParameter.BindingType] = BindingType.AtomPub;&lt;BR /&gt;parameters[SessionParameter.AuthenticationProviderClass] = "DotCMIS.Binding.NtlmAuthenticationProvider";&lt;BR /&gt;&lt;BR /&gt;SessionFactory factory = SessionFactory.NewInstance();&lt;BR /&gt;ISession session = factory.GetRepositories(parameters)[0].CreateSession();&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 08:10:19 GMT</pubDate>
    <dc:creator>antonia</dc:creator>
    <dc:date>2014-05-22T08:10:19Z</dc:date>
    <item>
      <title>NTLM SSO with CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ntlm-sso-with-cmis/m-p/301947#M255077</link>
      <description>Hello,I'm trying to set up a simple Alfresco installation with NTLM SSO authentication. Since this is for testing purposes, I’m free to use passthru or just alfrescoNtlm. I tried both possibilities and everything worked quite well with Alfresco share, i.e. I wasn’t prompted for my password when acce</description>
      <pubDate>Thu, 22 May 2014 08:10:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ntlm-sso-with-cmis/m-p/301947#M255077</guid>
      <dc:creator>antonia</dc:creator>
      <dc:date>2014-05-22T08:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: NTLM SSO with CMIS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ntlm-sso-with-cmis/m-p/301948#M255078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've the same issue, did you found the solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(a little bump for this one)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 15:04:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ntlm-sso-with-cmis/m-p/301948#M255078</guid>
      <dc:creator>prignony</dc:creator>
      <dc:date>2014-10-27T15:04:47Z</dc:date>
    </item>
  </channel>
</rss>

