Skip to contentSkip to conversation

New: cifs mount with missing krb5 key should give better error message

Bug 14506 [email protected] 1 participant 1 message Sep 21, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

https://bugzilla.samba.org/show_bug.cgi?id=14506

Bug ID: 14506
Summary: cifs mount with missing krb5 key should give better
error message
Product: CifsVFS
Version: 5.x
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: user space tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---

when trying to mount a cifs share with sec=krb5 but with missing krb5 key, then the mount command returns:

mount error(2): No such file or directory

This error message does not really help most of the users, I think.

If there is a sec=krb5 cifs mount with an *expired* key and you try to access the mount point, the error message is better:

ls: Öffnen von Verzeichnis '.' nicht möglich: Der notwendige Schlüssel ist nicht verfügbar

(in English like "opening directory "." not possible: the required key is not availbale").

A similar message would be good at mount time if the required key is not available.

Signature · 2 lines
You are receiving this mail because:
You are the QA Contact for the bug.