Permission denied error (mount error 13) when trying to mount CIFS share after updating to kernel-2.6.18-371 or Red Hat Enterprise Linux 5.10

Solution Verified - Updated -

Issue

  • Attempting to mount CIFS share results in error "mount error 13 = Permission denied"
  • Only one user's share can be mounted successfully.
  • For example:
# mount.cifs //exampleserver/mirai /kyoukai/mirai -o credentials=/root/.credentials/one
# mount.cifs //exampleserver/mitsu /kyoukai/mitsu -o credentials=/root/.credentials/two
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
  • When trying to manually mount them from command line, the following error appears in dmesg or /var/log/messages:
Status code returned 0xc000006a NT_STATUS_WRONG_PASSWORD
 CIFS VFS: Send error in SessSetup = -13
 CIFS VFS: cifs_mount failed w/return code = -13

Environment

  • Red Hat Enterprise Linux 5.10
  • kernel-2.6.18-371

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.