svn commit: samba r6335 - in
branches/SAMBA_4_0/source/libcli/dgram: .
tridge at samba.org
tridge at samba.org
Thu Apr 14 05:55:39 GMT 2005
Author: tridge
Date: 2005-04-14 05:55:32 +0000 (Thu, 14 Apr 2005)
New Revision: 6335
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6335
Log:
at debug level 10, save netlogon and ntlogon packets that fail to parse
Modified:
branches/SAMBA_4_0/source/libcli/dgram/netlogon.c
branches/SAMBA_4_0/source/libcli/dgram/ntlogon.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/dgram/netlogon.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/dgram/netlogon.c 2005-04-14 05:54:33 UTC (rev 6334)
+++ branches/SAMBA_4_0/source/libcli/dgram/netlogon.c 2005-04-14 05:55:32 UTC (rev 6335)
@@ -109,9 +109,9 @@
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
+ if (DEBUGLVL(10)) {
+ file_save("netlogon.dat", data.data, data.length);
+ }
}
return status;
}
Modified: branches/SAMBA_4_0/source/libcli/dgram/ntlogon.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/dgram/ntlogon.c 2005-04-14 05:54:33 UTC (rev 6334)
+++ branches/SAMBA_4_0/source/libcli/dgram/ntlogon.c 2005-04-14 05:55:32 UTC (rev 6335)
@@ -109,9 +109,9 @@
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("Failed to parse ntlogon packet of length %d\n",
data.length));
-#if 0
- file_save("ntlogon.dat", data.data, data.length);
-#endif
+ if (DEBUGLVL(10)) {
+ file_save("ntlogon.dat", data.data, data.length);
+ }
}
return status;
}
More information about the samba-cvs
mailing list