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)
commit9934430e2178d5164eb1ac91a9b092f9e7e64745
tree27b267463591d6f552b00d5e931bd1a1529be700
parent9eec21bfbe9096141f15c624d3d0c2142121f6cb
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