CIFS Mount Error -5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list. I am getting on my CentOS 5 & 6 servers? /var/log/messages like:
Mar 24 20:54:47 server kernel:  CIFS VFS: cifs_mount failed w/return code =
-5

When I try to mount a Windows 2008 R2 share with:
mount.cifs //server_name/share /win/case -o
username='user_name',password='user_password'

whereas when I do the exact same mount with IP it is successful.
mount.cifs //server_IP/share /win/case -o
username='user_name',password='user_password'

I have checked DNS which does resolve the name correctly, added the entry to
/etc/hosts (so resolver does not have to contact DNS), checked
/etc/resolv.conf, added ?strace? before command, added ?-av? as argument all
to no avail. I am just give on using the server name.

This happening on CentOS 5.5, 5.6 & 6.5 with different versions of Samba and
CIFS (on CentOS 6.5).

Anyone have any ideas?

Thanks,
Hamid.

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux