summaryrefslogtreecommitdiff
path: root/source3/rpc_server/lsa
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-01 22:33:17 +0200
committerGünther Deschner <gd@samba.org>2011-02-17 16:02:20 +0100
commitf037d42e9bc6ee8148a4ad92f087bf23c55dc6c4 (patch)
tree27e4cb3c879c7f77a941c61d1547b8f330c02b16 /source3/rpc_server/lsa
parentfa43de063ae40850800ebc839e30700ce65dceee (diff)
downloadsamba-f037d42e9bc6ee8148a4ad92f087bf23c55dc6c4.tar.gz
samba-f037d42e9bc6ee8148a4ad92f087bf23c55dc6c4.tar.bz2
samba-f037d42e9bc6ee8148a4ad92f087bf23c55dc6c4.zip
s3-lsa: support trust objects in _lsa_QuerySecurity().
Guenther
Diffstat (limited to 'source3/rpc_server/lsa')
-rw-r--r--source3/rpc_server/lsa/srv_lsa_nt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c
index 680d7b3522..02cdc21584 100644
--- a/source3/rpc_server/lsa/srv_lsa_nt.c
+++ b/source3/rpc_server/lsa/srv_lsa_nt.c
@@ -2837,6 +2837,7 @@ NTSTATUS _lsa_QuerySecurity(struct pipes_struct *p,
switch (handle->type) {
case LSA_HANDLE_POLICY_TYPE:
case LSA_HANDLE_ACCOUNT_TYPE:
+ case LSA_HANDLE_TRUST_TYPE:
psd = handle->sd;
sd_size = ndr_size_security_descriptor(psd, 0);
status = NT_STATUS_OK;