Skip to content

Commit a5cc98e

Browse files
author
Steve French
committed
smb3: clarify mount warning
When a user tries to use the "sec=krb5p" mount parameter to encrypt data on connection to a server (when authenticating with Kerberos), we indicate that it is not supported, but do not note the equivalent recommended mount parameter ("sec=krb5,seal") which turns on encryption for that mount (and uses Kerberos for auth). Update the warning message. Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent a39c757 commit a5cc98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/smb/client/fs_context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ cifs_parse_security_flavors(struct fs_context *fc, char *value, struct smb3_fs_c
211211

212212
switch (match_token(value, cifs_secflavor_tokens, args)) {
213213
case Opt_sec_krb5p:
214-
cifs_errorf(fc, "sec=krb5p is not supported!\n");
214+
cifs_errorf(fc, "sec=krb5p is not supported. Use sec=krb5,seal instead\n");
215215
return 1;
216216
case Opt_sec_krb5i:
217217
ctx->sign = true;

0 commit comments

Comments
 (0)