title: Samba restrictions are stopping any mount
body: <p>I have a SAMBA export which I only want users A &amp; B to be able to access.</p>
  <p>The smb.conf extract is:</p>
  <pre><code>    [myshare]
      comment = My Share (restricted)
      path = /myshare
      browsable = no
      writeable = yes
      valid users = A, B
  </code></pre>
  <p>and a client fstab of:</p>
  <pre><code>    //server/myshare  /theshareplace cifs file_mode=0777,dir_mode=0777,username='A',password='pss' 0 2
      
  </code></pre>
  <p>However I receive the error:</p>
  <pre><code>mount error(13): Permission denied
  </code></pre>
  <p>I have tried manual mount of</p>
  <pre><code>sudo mount //server/myshare  /theshareplace -o username=A
  </code></pre>
  <p>and providing the password at prompt, but still receive the error:</p>
  <pre><code>mount error(13): Permission denied
  </code></pre>