From: Jeffrey Altman Date: Sat, 3 Sep 2011 22:17:21 +0000 (-0400) Subject: Windows: log SMB or RDR in use at startup X-Git-Tag: upstream/1.6.1.pre4^2~37 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cdec970530b720feafe3f79c255466bd13d13807;p=packages%2Fo%2Fopenafs.git Windows: log SMB or RDR in use at startup SMB only in 1.6 Reviewed-on: http://gerrit.openafs.org/5338 Tested-by: BuildBot Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman (cherry picked from commit b861e17c0bc34ea2042879bc705f5d26a7e0a77f) Change-Id: I67569c2d261a8afbbffbe7777e360139d25c73ca Reviewed-on: http://gerrit.openafs.org/6804 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/WINNT/afsd/afsd_eventlog.c b/src/WINNT/afsd/afsd_eventlog.c index 11b067842..22f203d83 100644 --- a/src/WINNT/afsd/afsd_eventlog.c +++ b/src/WINNT/afsd/afsd_eventlog.c @@ -200,7 +200,6 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...) case MSG_UNHANDLED_EXCEPTION: case MSG_SMB_ZERO_TRANSACTION_COUNT: case MSG_SERVICE_INCORRECT_VERSIONS: - case MSG_SERVICE_RUNNING: case MSG_SERVICE_STOPPING: case MSG_SERVICE_STOPPED: case MSG_SERVICE_ERROR_STOP: @@ -211,6 +210,10 @@ LogEvent(WORD wEventType, DWORD dwEventID, ...) wNumArgs = 1; lpArgs[0] = AFSVersion; break; + case MSG_SERVICE_RUNNING: + wNumArgs = 1; + lpArgs[0] = "SMB interface"; + break; case MSG_FLUSH_BAD_SHARE_NAME: case MSG_FLUSH_OPEN_ENUM_ERROR: case MSG_FLUSH_ENUM_ERROR: diff --git a/src/WINNT/afsd/afsd_eventmessages.mc b/src/WINNT/afsd/afsd_eventmessages.mc index 0c756af3d..31e2a0f76 100644 --- a/src/WINNT/afsd/afsd_eventmessages.mc +++ b/src/WINNT/afsd/afsd_eventmessages.mc @@ -276,7 +276,7 @@ Severity=Informational Facility=System SymbolicName=MSG_SERVICE_RUNNING Language=English -OpenAFS Running. +OpenAFS Running. %1 . MessageId=