]> git.baikalelectronics.ru Git - kernel.git/commit
SMB3.1.1: Fix ids returned in POSIX query dir
authorSteve French <stfrench@microsoft.com>
Tue, 20 Oct 2020 07:02:02 +0000 (02:02 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 20 Oct 2020 16:51:24 +0000 (11:51 -0500)
commita1487a1367772ec62cccbbd44448a92d37f15246
tree27b267463591d6f552b00d5e931bd1a1529be700
parent7079727afd605f10304e5a0892441660946108da
SMB3.1.1: Fix ids returned in POSIX query dir

We were setting the uid/gid to the default in each dir entry
in the parsing of the POSIX query dir response, rather
than attempting to map the user and group SIDs returned by
the server to well known SIDs (or upcall if not found).

CC: Stable <stable@vger.kernel.org>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsacl.c
fs/cifs/cifsproto.h
fs/cifs/readdir.c