Dave's Brain

Browse - Computer Tips - Why can't I mount with cifs? It used to work.

Date: 2017nov6
OS: Linux
Distro: RedHat/Fedora/CentOS

Q.  Why can't I mount with cifs?  It used to work.

mount -t cifs -o 'username=myuser,password=mypass' //winpc/c /mnt/winpc/c
A. There are suggestions out there to use sec=ntlm or the IP-address But that didn't help me. What worked was doing `dmesg` which suggested using ver=1.0
mount -t cifs -o 'username=myuser,password=mypass,ver=1.0' //winpc/c /mnt/winpc/c
If that doesn't work, Check with smbclient

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.