diff options
author | Simo Sorce <idra@samba.org> | 2010-02-24 11:02:18 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-02-24 11:04:09 -0500 |
commit | f09802cfc8fae8ce06cf65372e2d4b29e962b95b (patch) | |
tree | d710c979f08602e5aabf0c6af70783eb0f8c016d /source4/rpc_server | |
parent | d980268680dd34c461467a1da835de099dafa191 (diff) | |
download | samba-f09802cfc8fae8ce06cf65372e2d4b29e962b95b.tar.gz samba-f09802cfc8fae8ce06cf65372e2d4b29e962b95b.tar.bz2 samba-f09802cfc8fae8ce06cf65372e2d4b29e962b95b.zip |
s4:netlogon remove wrong ZERO_STRUCT of output
This was causing marshalling faults when we returned errors.
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 6f58e9c88c..563ed5eddb 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -1758,8 +1758,6 @@ static WERROR dcesrv_netr_DsrEnumerateDomainTrusts(struct dcesrv_call_state *dce } } - ZERO_STRUCT(r->out); - trusts = talloc_zero(mem_ctx, struct netr_DomainTrustList); W_ERROR_HAVE_NO_MEMORY(trusts); @@ -1910,8 +1908,6 @@ static WERROR dcesrv_netr_DsRGetForestTrustInformation(struct dcesrv_call_state struct ldb_context *sam_ctx; WERROR werr; - ZERO_STRUCT(r->out); - if (lp_server_role(lp_ctx) != ROLE_DOMAIN_CONTROLLER) { return WERR_CALL_NOT_IMPLEMENTED; } @@ -1979,8 +1975,6 @@ static NTSTATUS dcesrv_netr_GetForestTrustInformation(struct dcesrv_call_state * return NT_STATUS_NOT_IMPLEMENTED; } - ZERO_STRUCT(r->out); - status = dcesrv_netr_creds_server_step_check(dce_call, mem_ctx, r->in.computer_name, |