diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-17 18:25:45 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-08-17 21:21:51 +1000 |
commit | 8835a360cad78feabb17be6802e43fe7aa763fa4 (patch) | |
tree | a7cf63e8c5649406a4ad31c998d5f04b332f718e /source4/rpc_server | |
parent | 2688375ffeba81ad635ca6bce175b1c849178482 (diff) | |
download | samba-8835a360cad78feabb17be6802e43fe7aa763fa4.tar.gz samba-8835a360cad78feabb17be6802e43fe7aa763fa4.tar.bz2 samba-8835a360cad78feabb17be6802e43fe7aa763fa4.zip |
s4-rpcserver: log unknown RPC calls at debug level 3
This was added as we are occasionally getting an encrypted unknown
netlogon call, and I'm having trouble looking at it in wireshark
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/dcerpc_server.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index f2edbf74c6..9103923b3e 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -978,6 +978,12 @@ static NTSTATUS dcesrv_request(struct dcesrv_call_state *call) /* unravel the NDR for the packet */ status = context->iface->ndr_pull(call, call, pull, &call->r); if (!NT_STATUS_IS_OK(status)) { + if (call->fault_code == DCERPC_FAULT_OP_RNG_ERROR) { + /* we got an unknown call */ + DEBUG(3,(__location__ ": Unknown RPC call %u on %s\n", + call->pkt.u.request.opnum, context->iface->name)); + dump_data(3, pull->data, pull->data_size); + } return dcesrv_fault(call, call->fault_code); } |