View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005426||CentOS-6||cifs-utils||public||2012-01-16 18:48||2012-01-17 16:23|
|Platform||HP Compaq 8200 Elite||OS||Centos||OS Version||6.2|
|Target Version||Fixed in Version|
|Summary||0005426: Unable to Mount CIFS Drive - Permission Denied|
|Description||I am not able to mount a CIFS drive under Centos 6.2. The error message I receive is below. Multiple users in our office have reported a similar issue with Centos 6.2, while the Centos 5.x boxes work just fine.|
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
This is the command that I use: sudo mount -t cifs //Server/Share /G -o username=USER,sec=ntlmv2
The same command works when I boot into a Centos 6.0 kernel.
|Steps To Reproduce||Try to mount the CIFS drive under Centos 6.2. It happens every time.|
|Tags||No tags attached.|
> The same command works when I boot into a Centos 6.0 kernel.
This suggests that the kernel, more specifically the cifs module, is responsible rather than cifs-utils (provided you did not roll back to an earlier version).
The cifs version:
kernel 2.6.32-71.el6 => 1.63
kernel 2.6.32-220 => 1.68
What is the output of :
Also try increasing debugging by:
echo 7 > /proc/fs/cifs/cifsFYI
and see if useful info gets logged.
Thanks for your quick reply.
[thahn@pc ~]$ stat /G
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: fd00h/64768d Inode: 2359299 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2012-01-16 12:00:41.131029315 -0600
Modify: 2011-07-20 12:47:33.676436997 -0500
Change: 2011-07-20 12:47:33.676436997 -0500
[root@timhahn-pc log]# tail -f messages
Jan 16 15:20:19 timhahn-pc kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Jan 16 15:20:19 timhahn-pc kernel: CIFS VFS: Send error in SessSetup = -13
Jan 16 15:20:19 timhahn-pc kernel: CIFS VFS: cifs_mount failed w/return code = -13
Looks like the remote machine is not taking the credentials.
I strongly suggest you try the samba mailing list to get help:
It is quite active and samba developers are there all the time. Just provide sufficient info such as the OS, kernel version, cifs version, etc in addition to the description of the problem.