diff --git a/src/WINNT/afsd/afslogon.c b/src/WINNT/afsd/afslogon.c index 294b7c2ee6..3bddbe91de 100644 --- a/src/WINNT/afsd/afslogon.c +++ b/src/WINNT/afsd/afslogon.c @@ -1165,10 +1165,12 @@ NPLogonNotify( HANDLE h; char *ptbuf[1]; + DebugEvent("Integrated login failed: %s", reason); + StringCbPrintf(msg, sizeof(msg), "Integrated login failed: %s", reason); if (ISLOGONINTEGRATED(opt.LogonOption) && interactive && !opt.failSilently) - MessageBox(hwndOwner, msg, "AFS Logon", MB_OK); + MessageBox(hwndOwner, msg, "AFS Logon", MB_OK|MB_ICONWARNING|MB_SYSTEMMODAL); h = RegisterEventSource(NULL, AFS_LOGON_EVENT_NAME); ptbuf[0] = msg;