SMB: sudo mount fails for Kerberized share
Issue
- Users receive a Kerberos tickets when logging in.
- Some users are in
wheel
and have# sudo
access. # sudo mount
of a SMB share withsec=krb5
fails withmount 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.