From 4bc36a697fffe78cc0ec93cb9cf98772aeadfcb6 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 28 Mar 2009 23:17:29 +0000 Subject: [PATCH] windows-remove-reset-all-vcs-event-20090328 LICENSE MIT remove the smb reset all VCs message. duplicates the reportSessionStartups functionality. --- src/WINNT/afsd/afsd_eventlog.c | 1 - src/WINNT/afsd/afsd_eventmessages.mc | 8 -------- src/WINNT/afsd/smb3.c | 1 - 3 files changed, 10 deletions(-) diff --git a/src/WINNT/afsd/afsd_eventlog.c b/src/WINNT/afsd/afsd_eventlog.c index a6ed02cb2..756392bd7 100644 --- a/src/WINNT/afsd/afsd_eventlog.c +++ b/src/WINNT/afsd/afsd_eventlog.c @@ -195,7 +195,6 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...) case MSG_SERVICE_ERROR_STOP: case MSG_CRYPT_OFF: case MSG_CRYPT_ON: - case MSG_SMB_RESET_ALL_VCS: break; case MSG_FLUSH_BAD_SHARE_NAME: case MSG_FLUSH_OPEN_ENUM_ERROR: diff --git a/src/WINNT/afsd/afsd_eventmessages.mc b/src/WINNT/afsd/afsd_eventmessages.mc index 5c0f27ff0..53f48a618 100644 --- a/src/WINNT/afsd/afsd_eventmessages.mc +++ b/src/WINNT/afsd/afsd_eventmessages.mc @@ -374,12 +374,4 @@ Language=English MaxBufferSize for client is too small (Client=%1, Server=%2). . -MessageId= -Severity=Informational -Facility=System -SymbolicName=MSG_SMB_RESET_ALL_VCS -Language=English -Windows SMB Redirector requests reset of all SMB virtual circuits. -. - ;#endif /* __AFSD_EVENTMESSAGES_H_ 1 */ diff --git a/src/WINNT/afsd/smb3.c b/src/WINNT/afsd/smb3.c index b5e626781..a08bca74a 100644 --- a/src/WINNT/afsd/smb3.c +++ b/src/WINNT/afsd/smb3.c @@ -715,7 +715,6 @@ long smb_ReceiveV3SessionSetupX(smb_vc_t *vcp, smb_packet_t *inp, smb_packet_t * } if (vcNumber == 0) { - LogEvent(EVENTLOG_INFORMATION_TYPE, MSG_SMB_RESET_ALL_VCS); osi_Log0(smb_logp, "Resetting all VCs"); smb_MarkAllVCsDead(vcp); } -- 2.39.5