SMB: sudo mount fails for Kerberized share

Solution Verified - Updated -

Issue

  • Users receive a Kerberos tickets when logging in.
  • Some users are in wheel and have # sudo access.
  • # sudo mount of a SMB share with sec=krb5 fails with mount error(126): Required key not available
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  • # klist shows Kerberos tickets and # kinit as root is successful.

Environment

  • Red Hat Enterprise Linux
  • SMB
  • Kerberos

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