Honor SeTakeOwnershiPrivilege when client asks for SEC_STD_WRITE_OWNER but has no...
commitf71990752db662f6ba5c07ec4d1c5e24c466bd8a
authorRichard Sharpe <realrichardsharpe@gmail.com>
Wed, 22 Feb 2012 14:25:54 +0000 (22 06:25 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:38:17 +0000 (22 21:38 +0200)
tree7a7826e971ace5d4dad261285975d12b98e6489d
parentd6e18a6d1a30294f9e24513d015026c2db3a6690
Honor SeTakeOwnershiPrivilege when client asks for SEC_STD_WRITE_OWNER but has no permission for that, but token has SeTakeOwnershipPrivilege

Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Wed Feb 22 19:19:32 CET 2012 on sn-devel-104
(cherry picked from commit 108253250048673493a636fd9fb2bf99b64ccf3c)

Fix bug #8768 (Samba does not honor SeTakeOwnershipPrivilege when file opened
with SEC_STD_WRITE_OWNER).
(cherry picked from commit 4d603924fa07b908994bdc0a15dcfa2f83a3f1be)
libcli/security/access_check.c