1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r2301: add a server side warning when we receive more RPC data than we

expect. It isn't an error as w2k3 does this on its first packet when
NTLM2 signing is used.
This commit is contained in:
Andrew Tridgell 2004-09-13 01:23:09 +00:00 committed by Gerald (Jerry) Carter
parent 73e087f11e
commit daaee86d14

View File

@ -629,6 +629,12 @@ static NTSTATUS dcesrv_request(struct dcesrv_call_state *call)
return dcesrv_fault(call, DCERPC_FAULT_NDR);
}
if (pull->offset != pull->data_size) {
DEBUG(3,("Warning: %d extra bytes in incoming RPC request\n",
pull->data_size - pull->offset));
dump_data(10, pull->data+pull->offset, pull->data_size - pull->offset);
}
call->fault_code = 0;
/* call the dispatch function */