Permission denied when attempting to mount Windows 7 share in domain environment.
Issue
- Attempting to mount
CIFSshare fails with permission denied.
# mount -t cifs //hanyuu-example/hauuauu /mnt/test -o username=user1,domain=domain1
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
- The following messages appear in
/var/log/messages:
Apr 1 17:35:34 hanyuu-example kernel: Status code returned 0xc0000022 NT_STATUS_ACCESS_DENIED
Apr 1 17:35:34 hanyuu-example kernel: CIFS VFS: Send error in SessSetup = -13
Apr 1 17:35:34 hanyuu-example kernel: CIFS VFS: cifs_mount failed w/return code = -13
- Functions properly when used in a workgroup (non-domain environment).
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.