diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 00:26:04 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-02 00:26:04 +0100 |
commit | dccf1b2c9f1b17f6ad12da11626110fcd86cd07e (patch) | |
tree | 5719ec2ff8af0e5d1d6b5a6dffa8b38cbe46c459 /pidl/lib/Parse/Pidl/Samba4/NDR | |
parent | d9cbf2b0d9fdd1373ea0a0d021df3230637e21ac (diff) | |
download | samba-dccf1b2c9f1b17f6ad12da11626110fcd86cd07e.tar.gz samba-dccf1b2c9f1b17f6ad12da11626110fcd86cd07e.tar.bz2 samba-dccf1b2c9f1b17f6ad12da11626110fcd86cd07e.zip |
Remove another use of global_loadparm.
Diffstat (limited to 'pidl/lib/Parse/Pidl/Samba4/NDR')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm index e30102b4e1..484886bbfa 100644 --- a/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm +++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm @@ -120,7 +120,8 @@ static NTSTATUS $name\__op_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_C /* unravel the NDR for the packet */ ndr_err = ndr_table_$name.calls[opnum].ndr_pull(pull, NDR_IN, *r); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { - dcerpc_log_packet(&ndr_table_$name, opnum, NDR_IN, + dcerpc_log_packet(lp_lockdir(dce_call->conn->dce_ctx->lp_ctx), + &ndr_table_$name, opnum, NDR_IN, &dce_call->pkt.u.request.stub_and_verifier); dce_call->fault_code = DCERPC_FAULT_NDR; return NT_STATUS_NET_WRITE_FAULT; @@ -144,7 +145,8 @@ pidl " } if (dce_call->fault_code != 0) { - dcerpc_log_packet(&ndr_table_$name, opnum, NDR_IN, + dcerpc_log_packet(lp_lockdir(dce_call->conn->dce_ctx->lp_ctx), + &ndr_table_$name, opnum, NDR_IN, &dce_call->pkt.u.request.stub_and_verifier); return NT_STATUS_NET_WRITE_FAULT; } @@ -167,7 +169,8 @@ pidl " } if (dce_call->fault_code != 0) { - dcerpc_log_packet(&ndr_table_$name, opnum, NDR_IN, + dcerpc_log_packet(lp_lockdir(dce_call->conn->dce_ctx->lp_ctx), + &ndr_table_$name, opnum, NDR_IN, &dce_call->pkt.u.request.stub_and_verifier); return NT_STATUS_NET_WRITE_FAULT; } |