s4:rpc_server/lsa: pass the correct variable to setInfoTrustedDomain_base()
authorStefan Metzmacher <metze@samba.org>
Mon, 15 Dec 2014 15:03:49 +0000 (16:03 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 19 Dec 2014 12:15:13 +0000 (13:15 +0100)
commit1d6e9e5e5879f0da5831fea7637be507b01b09de
tree17a6748ab52d4954b2dccd34b5c03b52f868f915
parent05eb7b52cd7ebcb5bfc873e388c745f8e958c994
s4:rpc_server/lsa: pass the correct variable to setInfoTrustedDomain_base()

This requires 'struct lsa_policy_state', we now pass this directly
instead of a instead of an opaque 'struct dcesrv_handle'.

dcesrv_lsa_SetInformationTrustedDomain() passes in a 'struct dcesrv_handle'
with 'struct lsa_trusted_domain_state' before, which results in segfaults.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source4/rpc_server/lsa/dcesrv_lsa.c