]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bdec156cc89980f14b17be818c9321fa52eb577
tree198ac249e567c11a1702d89557bcac88e43fdd8b
parent5c0fe7000801955cc0c46dcedbb2479d3feb44b5
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