From 564a7695a554796788bc46e1f193ee85d57142ec Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 3 Apr 2007 05:33:20 +0000 Subject: [PATCH] DEVEL15-windows-afslogon-20070402 restore token acquisition for non-interactive logons. (cherry picked from commit 26b381dc17a7705af8b9d1ba1d26d1188ae649ed) --- src/WINNT/afsd/afslogon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WINNT/afsd/afslogon.c b/src/WINNT/afsd/afslogon.c index e01458600..352ca52ba 100644 --- a/src/WINNT/afsd/afslogon.c +++ b/src/WINNT/afsd/afslogon.c @@ -718,9 +718,11 @@ DWORD APIENTRY NPLogonNotify( /* Are we interactive? */ interactive = (wcscmp(lpStationName, L"WinSta0") == 0); +#ifdef DISABLE_NON_INTERACTIVE /* Do not do anything if the logon session is not interactive. */ if (!interactive) return 0; +#endif (void) RegOpenKeyEx(HKEY_LOCAL_MACHINE, AFSREG_CLT_SVC_PARAM_SUBKEY, 0, KEY_QUERY_VALUE, &NPKey); -- 2.39.5