From ce7eb419307de28b6a674948a70960a39e0c38f8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 8 Apr 2005 09:38:16 +0000 Subject: r6248: added parsing of type 10 UAS announce netlogon packets (This used to be commit d7e6e395cedef47dc182094c91f764e248b9b149) --- source4/libcli/dgram/netlogon.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/libcli') diff --git a/source4/libcli/dgram/netlogon.c b/source4/libcli/dgram/netlogon.c index a0218e2cb5..869e99e2fc 100644 --- a/source4/libcli/dgram/netlogon.c +++ b/source4/libcli/dgram/netlogon.c @@ -70,5 +70,12 @@ NTSTATUS dgram_mailslot_netlogon_parse(struct dgram_mailslot_handler *dgmslot, status = ndr_pull_struct_blob(data, mem_ctx, netlogon, (ndr_pull_flags_fn_t)ndr_pull_nbt_netlogon_packet); + if (!NT_STATUS_IS_OK(status)) { + DEBUG(0,("Failed to parse netlogon packet of length %d\n", + data->length)); +#if 0 + file_save("netlogon.dat", data->data, data->length); +#endif + } return status; } -- cgit