Hamid Majidy
2014-03-30 21:10:44 UTC
Hello list. I am getting on my CentOS 5 & 6 servers=92 /var/log/message=
s like:
Mar 24 20:54:47 server kernel:=A0 CIFS VFS: cifs_mount failed w/return =
code =3D
-5
When I try to mount a Windows 2008 R2 share with:
mount.cifs //server_name/share /win/case -o
username=3D'user_name',password=3D'user_password'
whereas when I do the exact same mount with IP it is successful.
mount.cifs //server_IP/share /win/case -o
username=3D'user_name',password=3D'user_password'
I have checked DNS which does resolve the name correctly, added the ent=
ry to
/etc/hosts (so resolver does not have to contact DNS), checked
/etc/resolv.conf, added =91strace=92 before command, added =91-av=92 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 Samb=
a and
CIFS (on CentOS 6.5).
Anyone have any ideas?
Thanks,
Hamid.
s like:
Mar 24 20:54:47 server kernel:=A0 CIFS VFS: cifs_mount failed w/return =
code =3D
-5
When I try to mount a Windows 2008 R2 share with:
mount.cifs //server_name/share /win/case -o
username=3D'user_name',password=3D'user_password'
whereas when I do the exact same mount with IP it is successful.
mount.cifs //server_IP/share /win/case -o
username=3D'user_name',password=3D'user_password'
I have checked DNS which does resolve the name correctly, added the ent=
ry to
/etc/hosts (so resolver does not have to contact DNS), checked
/etc/resolv.conf, added =91strace=92 before command, added =91-av=92 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 Samb=
a and
CIFS (on CentOS 6.5).
Anyone have any ideas?
Thanks,
Hamid.