]> 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)
commit9334e6113ec55c408542e290a6c2a011246c2a3c
tree198ac249e567c11a1702d89557bcac88e43fdd8b
parentd04e905a8eab906d0e3f025ba02e7eeab6269d7f
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