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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content