diff options
author | Steve French <smfrench@gmail.com> | 2016-10-13 19:06:23 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2016-10-14 14:22:16 -0500 |
commit | 3514de3fd5fab518520e393152d3f4e3d0441d8d (patch) | |
tree | 7902a65b0d8b109513cd5e7b9bc279c231edee92 /tools | |
parent | 9593265531fa66177a0547e63abd99907ec0a687 (diff) |
CIFS: Retrieve uid and gid from special sid if enabled
New mount option "idsfromsid" indicates to cifs.ko that
it should try to retrieve the uid and gid owner fields
from special sids. This patch adds the code to parse the owner
sids in the ACL to see if they match, and if so populate the
uid and/or gid from them. This is faster than upcalling for
them and asking winbind, and is a fairly common case, and is
also helpful when cifs.upcall and idmapping is not configured.
Signed-off-by: Steve French <steve.french@primarydata.com>
Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions