title: Using 'cifs' to connect to windows share
body: <p>I am working with UBUNTU 12.04, and am trying to connect to a windows share (SBS2008r2).</p>
  
  <p>If i use the command:  </p>
  
  <pre><code>sudo mount -t cifs //domain/share /media/files -o credentials=/home/linux/.smbcredentials
  </code></pre>
  
  <p>my folder gets mounted correctly.</p>
  
  <p>However, when i try to make this mount automatically by adding the following line in the /etc/fstab:  </p>
  
  <pre><code>//domain/share /media/filescredentials=/home/linux/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
  </code></pre>
  
  <p>and then run the command:</p>
  
  <pre><code>sudo mount -a
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>mount error(95): Operation not supported
  </code></pre>
  
  <p>What am i missing?</p>