summaryrefslogtreecommitdiff
path: root/source4/rpc_server/lsa
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-21 10:23:14 +0200
committerGünther Deschner <gd@samba.org>2008-10-27 19:33:22 +0100
commitea886864190e7d3bb9f58260ec854489c4642c86 (patch)
treec8a944e59d1db1591985df3214f7cead802cfe62 /source4/rpc_server/lsa
parent36725ec0b4b5fae83404d9b8d97252d0606989fc (diff)
downloadsamba-ea886864190e7d3bb9f58260ec854489c4642c86.tar.gz
samba-ea886864190e7d3bb9f58260ec854489c4642c86.tar.bz2
samba-ea886864190e7d3bb9f58260ec854489c4642c86.zip
s4-lsa: merge lsa_QueryTrustedDomainInfoByName from s3 lsa idl.
Guenther
Diffstat (limited to 'source4/rpc_server/lsa')
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c
index 371510cc98..99afdea654 100644
--- a/source4/rpc_server/lsa/dcesrv_lsa.c
+++ b/source4/rpc_server/lsa/dcesrv_lsa.c
@@ -1461,7 +1461,7 @@ static NTSTATUS dcesrv_lsa_QueryTrustedDomainInfoByName(struct dcesrv_call_state
struct lsa_QueryTrustedDomainInfo query;
struct dcesrv_handle *h;
open.in.handle = r->in.handle;
- open.in.name = r->in.trusted_domain;
+ open.in.name = *r->in.trusted_domain;
open.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED;
open.out.trustdom_handle = talloc(mem_ctx, struct policy_handle);
if (!open.out.trustdom_handle) {
@@ -1478,12 +1478,12 @@ static NTSTATUS dcesrv_lsa_QueryTrustedDomainInfoByName(struct dcesrv_call_state
query.in.trustdom_handle = open.out.trustdom_handle;
query.in.level = r->in.level;
+ query.out.info = r->out.info;
status = dcesrv_lsa_QueryTrustedDomainInfo(dce_call, mem_ctx, &query);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
- r->out.info = query.out.info;
return NT_STATUS_OK;
}