Change get_nt_acl_no_snum() to return an NTSTATUS, not a struct security_descriptor *.
commit236977bf4642c035bb22cfcd1cee481c5f6c6da1
authorAndrew Bartlett <abartlet@samba.org>
Tue, 13 Nov 2012 20:48:53 +0000 (13 12:48 -0800)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 13 Nov 2012 21:48:19 +0000 (13 22:48 +0100)
treefcec6c3d337a98120db720753b07bcf7163a2011
parenta4434297f19a3520d0f2ac242d4e99576d927ecc
Change get_nt_acl_no_snum() to return an NTSTATUS, not a struct security_descriptor *.

Internally change the implementation to use SMB_VFS_GET_NT_ACL()
instead of SMB_VFS_FGET_NT_ACL() with a faked-up file struct.

Andrew Bartlett

Reviewed by: Jeremy Allison <jra@samba.org>
source3/rpc_server/eventlog/srv_eventlog_nt.c
source3/smbd/posix_acls.c
source3/smbd/proto.h
source3/smbd/pysmbd.c