smb3: allow uid and gid owners to be set on create with idsfromsid mount option
authorSteve French <stfrench@microsoft.com>
Fri, 12 Jun 2020 14:25:21 +0000 (09:25 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 12 Jun 2020 18:21:15 +0000 (13:21 -0500)
commit975221eca5fbfdb4b6b1d17c9e540d4d7627ce18
tree198ac249e567c11a1702d89557bcac88e43fdd8b
parente4bd7c4a8d2a8471d821dd29919378d1b8567091
smb3: allow uid and gid owners to be set on create with idsfromsid mount option

Currently idsfromsid mount option allows querying owner information from the
special sids used to represent POSIX uids and gids but needed changes to
populate the security descriptor context with the owner information when
idsfromsid mount option was used.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/cifsacl.c
fs/cifs/cifsacl.h
fs/cifs/cifsproto.h
fs/cifs/smb2pdu.c