projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6829554
)
cifs: map STATUS_ACCOUNT_LOCKED_OUT to -EACCES
author
Stefan Metzmacher
<metze@samba.org>
Mon, 24 Feb 2020 13:15:09 +0000
(14:15 +0100)
committer
Steve French
<stfrench@microsoft.com>
Fri, 16 Oct 2020 04:58:14 +0000
(23:58 -0500)
This is basically the same as STATUS_LOGON_FAILURE,
but after the account is locked out.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2maperror.c
patch
|
blob
|
history
diff --git
a/fs/cifs/smb2maperror.c
b/fs/cifs/smb2maperror.c
index b004cf87692a7ca030c67b8e05e2304611642e47..c775682ee973978af38228fb8491085f059e60e3 100644
(file)
--- a/
fs/cifs/smb2maperror.c
+++ b/
fs/cifs/smb2maperror.c
@@
-814,7
+814,7
@@
static const struct status_to_posix_error smb2_error_map_table[] = {
{STATUS_INVALID_VARIANT, -EIO, "STATUS_INVALID_VARIANT"},
{STATUS_DOMAIN_CONTROLLER_NOT_FOUND, -EIO,
"STATUS_DOMAIN_CONTROLLER_NOT_FOUND"},
- {STATUS_ACCOUNT_LOCKED_OUT, -E
IO
, "STATUS_ACCOUNT_LOCKED_OUT"},
+ {STATUS_ACCOUNT_LOCKED_OUT, -E
ACCES
, "STATUS_ACCOUNT_LOCKED_OUT"},
{STATUS_HANDLE_NOT_CLOSABLE, -EIO, "STATUS_HANDLE_NOT_CLOSABLE"},
{STATUS_CONNECTION_REFUSED, -EIO, "STATUS_CONNECTION_REFUSED"},
{STATUS_GRACEFUL_DISCONNECT, -EIO, "STATUS_GRACEFUL_DISCONNECT"},