smbcacls: no need to fetch the sd when changing ownership
authorRalph Boehme <slow@samba.org>
Fri, 6 Oct 2017 06:01:46 +0000 (08:01 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 6 Oct 2017 22:04:54 +0000 (00:04 +0200)
commita826394a2f556fe9bc50e430e86f01443e58ee2f
tree68c2e1ce7314459cbbeb7a32d8e37bf8fb71a9b9
parentfc03049ca1721c25c6ad3d01cba2501af3f39b93
smbcacls: no need to fetch the sd when changing ownership

Reading the SD may be denied but changing ownership could be allowed. As
we don't really need the server SD for the change ownership request,
don't fetch it.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct  7 00:04:54 CEST 2017 on sn-devel-144
source3/utils/smbcacls.c