<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CIFS on shocksolution.com</title><link>https://shocksolution.com/tags/cifs/</link><description>Recent content in CIFS on shocksolution.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 23 Oct 2019 16:23:48 +0000</lastBuildDate><atom:link href="https://shocksolution.com/tags/cifs/index.xml" rel="self" type="application/rss+xml"/><item><title>mount.cifs error 13 after update (CentOS/RedHat Linux 7.6)</title><link>https://shocksolution.com/posts/mount-cifs-error-13-after-update-centos-redhat-linux-7-6/</link><pubDate>Wed, 23 Oct 2019 16:23:48 +0000</pubDate><guid>https://shocksolution.com/posts/mount-cifs-error-13-after-update-centos-redhat-linux-7-6/</guid><description>&lt;figure class="ma0 w-75"&gt;&lt;img src="https://shocksolution.com/images/hidde-van-esch-m4N7onAg1oE-unsplash.jpg"&#10;&#9;&#9;&#9;alt="PERMISSION DENIED"&gt;&lt;figcaption&gt;&#10;&#9;&#9;&#9;&lt;p&gt;PERMISSION DENIED&lt;/p&gt;&#10;&#9;&#9;&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;PERMISSION DENIED (Photo by &lt;a href="https://unsplash.com/@holoz?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Hidde van Esch&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/denied?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;)&lt;/p&gt;&#10;&lt;p&gt;If you recently updated your RedHat or CentOS 7.6 system, you may suddenly start getting &amp;ldquo;Permission Denied&amp;rdquo; errors when attempting to mount SMB shares via CIFS. Typical error messages in syslog look like this:&lt;/p&gt;&#10;&lt;div class="code-block"&gt;&#10; &lt;button class="code-copy" type="button" hidden aria-label="Copy code to clipboard"&gt;&#10; &lt;span class="code-copy-label" aria-hidden="true"&gt;Copy&lt;/span&gt;&#10; &lt;/button&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kernel: Status code returned 0xc000006d STATUS_LOGON_FAILURE&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kernel: CIFS VFS: Send error in SessSetup = -13&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kernel: CIFS VFS: cifs_mount failed w/return code = -13&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10; &lt;/div&gt;&lt;h2 id="configuration-that-triggered-the-problem"&gt;Configuration that triggered the problem&lt;/h2&gt;&#10;&lt;p&gt;&lt;em&gt;Synology NAS with latest operating system shares a volume via SMB&lt;/em&gt;CentOS 7 Linux server mounts SMB share using a local username and password (NOT domain credentials)&lt;em&gt;cifs-utils version 6.2 installed in May of 2019 (this by itself worked fine)&lt;em&gt;libsmbclient just updated to 4.9.1-6&lt;/em&gt;libmount just updated to 2.23.2-61&lt;/em&gt;CIFS mount options: vers=3.0,credentials=/root/credentials.txt,sec=ntlmsspi* File /root/credentials.txt contained a username and password that are LOCAL to the SMB server&lt;/p&gt;</description></item></channel></rss>