<?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 5.0.d - CIFS SMB Exception - passthru and ldap  properties included in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/5-0-d-cifs-smb-exception-passthru-and-ldap-properties-included/m-p/286701#M239831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Trying to get CIFs working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Version: 5.0.d&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note I did remove sections that contained passwords and other things we really don't want leaving here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LDAP authentication seems to work just fine in the web portal. I have done the Local settings in windows change to allow NTLM following the guide here &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.0/tasks/troubleshoot-ntlm.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/tasks/troubleshoot-ntlm.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I attempt the logon I recieve that my network password is incorrect (Same credentials I use to successfully log into the web portal with and without the domain prefix)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I turned on debugging logging by going to \tomcat\webapps\alfresco\web-inf\classes\log4j.properties and set the root logger to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j.rootLogger=debug, Console, File to allow extra logs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only logs I recieve about SMB are here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-06-19 15:47:05,757 ERROR [org.alfresco.filesys.auth.cifs.PassthruCifsAuthenticator] [AlfJLANWorker25] org.alfresco.jlan.smb.SMBException: Invalid parameter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-06-19 15:47:05,772 ERROR [org.alfresco.filesys.auth.cifs.PassthruCifsAuthenticator] [AlfJLANWorker2] org.alfresco.jlan.smb.SMBException: Invalid parameter&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something obvious?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Logs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;###############################&lt;BR /&gt;## Common Alfresco Properties #&lt;BR /&gt;###############################&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# The server mode. Set value here&lt;BR /&gt;# UNKNOWN | TEST | BACKUP | PRODUCTION&lt;BR /&gt;system.serverMode=UNKNOWN&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;### E-mail site invitation setting ###&lt;BR /&gt;notification.email.siteinvite=false&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;### Solr indexing ###&lt;BR /&gt;index.subsystem.name=solr4&lt;BR /&gt;dir.keystore=${dir.root}/keystore&lt;BR /&gt;solr.port.ssl=8443&lt;BR /&gt;&lt;BR /&gt;### BPM Engine ###&lt;BR /&gt;system.workflow.engine.jbpm.enabled=false&lt;BR /&gt;&lt;BR /&gt;### Allow extended ResultSet processing&lt;BR /&gt;security.anyDenyDenies=false&lt;BR /&gt;&lt;BR /&gt;mail.host=mailrelay&lt;BR /&gt;mail.port=25&lt;BR /&gt;mail.username=&lt;BR /&gt;mail.password=&lt;BR /&gt;mail.encoding=UTF-8&lt;BR /&gt;mail.from.default=noreply@noone.com&lt;BR /&gt;mail.smtp.auth=false&lt;BR /&gt;&lt;BR /&gt;mail.testmessage.text=The Outbound SMTP email subsystem is working.&lt;BR /&gt;&lt;BR /&gt;### CIFS/SMB Server Configuration ###&lt;BR /&gt;cifs.enabled=true&lt;BR /&gt;cifs.domain=ld.local&lt;BR /&gt;cifs.serverName=${localname}a&lt;BR /&gt;cifs.hostannounce=true&lt;BR /&gt;&lt;BR /&gt;#CIFS with LDAP We have to use passthru for CIFS due to limitations in how cifs has to authenticate&lt;BR /&gt;ntlm.authentication.authenticateCIFS=false&lt;BR /&gt;ntlm.authentication.sso.enabled=false #Must be disabled to allow chained password-based login&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#ntlm.authentication.mapUnknownUserToGuest=false&lt;BR /&gt;&lt;BR /&gt;alfresco.authentication.authenticateCIFS=false&lt;BR /&gt;#alfresco.authentication.allowGuestLogin=false&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;passthru.authentication.useLocalServer=false&lt;BR /&gt;passthru.authentication.domain=&lt;BR /&gt;passthru.authentication.guestAccess=false&lt;BR /&gt;passthru.authentication.defaultAdministratorUserNames=supersecretusername&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;passthru.authentication.servers=LD\\123.12.12.12&lt;BR /&gt;passthru.authentication.authenticateCIFS=true&lt;BR /&gt;passthru.authentication.offlineCheckInterval=300&lt;BR /&gt;&lt;BR /&gt;#LDAP authentication&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.userNameFormat=%s@ld.local&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://ld.local:389&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=secretusername&lt;BR /&gt;ldap.authentication.active=false&lt;BR /&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=CN\=alfresco,OU\=ServiceAccounts, (TRUNCATED)&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=superdupersecret&lt;BR /&gt;ldap.synchronization.groupSearchBase=OU\=Groups,(TRUNCATED)&lt;BR /&gt;ldap.synchronization.userSearchBase=OU\=Users,(TRUNCATED)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru,ldap1:ldap&lt;BR /&gt;ntlm.authentication.sso.enabled=false&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;/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;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t;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 20:17:19 GMT</pubDate>
    <dc:creator>dataman</dc:creator>
    <dc:date>2015-06-19T20:17:19Z</dc:date>
    <item>
      <title>5.0.d - CIFS SMB Exception - passthru and ldap  properties included</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/5-0-d-cifs-smb-exception-passthru-and-ldap-properties-included/m-p/286701#M239831</link>
      <description>Trying to get CIFs working.Version: 5.0.dNote I did remove sections that contained passwords and other things we really don't want leaving here.LDAP authentication seems to work just fine in the web portal. I have done the Local settings in windows change to allow NTLM following the guide here http:</description>
      <pubDate>Fri, 19 Jun 2015 20:17:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/5-0-d-cifs-smb-exception-passthru-and-ldap-properties-included/m-p/286701#M239831</guid>
      <dc:creator>dataman</dc:creator>
      <dc:date>2015-06-19T20:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: 5.0.d - CIFS SMB Exception - passthru and ldap  properties included</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/5-0-d-cifs-smb-exception-passthru-and-ldap-properties-included/m-p/286702#M239832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Everything looks good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my expiriance you need to put above all authentication properties those two:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru,ldap1:ldap&lt;BR /&gt;ntlm.authentication.sso.enabled=false&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Just after the mail settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also just after that you need to put this or as a first property when you specify all passthru properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;passthru.authentication.authenticateCIFS=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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Honestly I can't help you much (but it's better than nothing), because I now sure how exactly passthru works, but I did a reseach for your error and here is what I found. I believe that could help you resolve this problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/authentication-ldap-sso/alfresco-50b-community" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/authentication-ldap-sso/alfresco-50b-community&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/cif-ad-smbexception-invalid" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/cif-ad-smbexception-invalid&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not that close to your problem, but could help you too:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/authentication-ldap-sso/webdav-andor-cifs-sso" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/authentication-ldap-sso/webdav-andor-cifs-sso&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 07:34:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/5-0-d-cifs-smb-exception-passthru-and-ldap-properties-included/m-p/286702#M239832</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-22T07:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: 5.0.d - CIFS SMB Exception - passthru and ldap  properties included</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/5-0-d-cifs-smb-exception-passthru-and-ldap-properties-included/m-p/286703#M239833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much Boris!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For everyone that searches for this type of error later, be sure to enable more verbose logging. I did this by going to Alfresco\tomcat\webapps\WEB-INF\classses\log4j.properties and changed the top line to log4j.rootLogger=debug, Console, File&amp;nbsp; . You can then search your log file for CIFS or SMB normally this will help you track down the issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the configuration I sent over had the ntlm.authentication.sso.enabled=false set to true instead of false on my alfresco server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This was the issue for me. I really appreciate the help thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 19:28:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/5-0-d-cifs-smb-exception-passthru-and-ldap-properties-included/m-p/286703#M239833</guid>
      <dc:creator>dataman</dc:creator>
      <dc:date>2015-06-22T19:28:26Z</dc:date>
    </item>
  </channel>
</rss>

