diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-05-10 09:19:46 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-08-10 14:38:47 -0700 |
commit | 1c3c5e2156d9096f60bd53a96b88c2f1001d898a (patch) | |
tree | c20e6478e94e5894a20b5598f9c0d74363b2be12 /examples/auth/crackcheck | |
parent | d7515b6a8886b282995a2ed433db92835783c393 (diff) | |
download | samba-1c3c5e2156d9096f60bd53a96b88c2f1001d898a.tar.gz samba-1c3c5e2156d9096f60bd53a96b88c2f1001d898a.tar.bz2 samba-1c3c5e2156d9096f60bd53a96b88c2f1001d898a.zip |
s3-smbd: Create a shortcut for building the token of a user by SID for posix_acls
When a user owns a file, but does not have specific permissions on that file, we need to
make up the user permissions. This change ensures that the first thing that we do
is to look up the SID, and confirm it is a user. Then, we avoid the getpwnam()
and directly create the token via the SID.
Andrew Bartlett
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples/auth/crackcheck')
0 files changed, 0 insertions, 0 deletions