s4-dsacl: Fixed incorrect handling of privileges in sec_access_check_ds
authorNadezhda Ivanova <nivanova@symas.com>
Mon, 14 Oct 2013 23:06:38 +0000 (02:06 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 24 Oct 2013 20:45:57 +0000 (09:45 +1300)
commitdaefca2a1aaa9f4e0ca2f17ef4c9a71412c081ea
tree85c9087d550b656abf6f2b075baa9234784ac380
parent2d51424569a9fbb60215957bf5c17a1f0a9bb9ca
s4-dsacl: Fixed incorrect handling of privileges in sec_access_check_ds

Restore and backup privileges are not relevant to ldap
access checks, and the TakeOwnership privilege should
grant write_owner right

Signed-off-by: Nadezhda Ivanova <nivanova@symas.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/access_check.c
source4/dsdb/tests/python/acl.py
source4/dsdb/tests/python/ldap.py