diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-04-08 09:38:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:28 -0500 |
commit | ce7eb419307de28b6a674948a70960a39e0c38f8 (patch) | |
tree | 082d11ea52df683b6b4423c012fe9bbd4215a2ff /source4/libcli | |
parent | b0ca8ed4559efae38933f49a638e7b51ae8bf0c8 (diff) | |
download | samba-ce7eb419307de28b6a674948a70960a39e0c38f8.tar.gz samba-ce7eb419307de28b6a674948a70960a39e0c38f8.tar.bz2 samba-ce7eb419307de28b6a674948a70960a39e0c38f8.zip |
r6248: added parsing of type 10 UAS announce netlogon packets
(This used to be commit d7e6e395cedef47dc182094c91f764e248b9b149)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/dgram/netlogon.c | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |