From: Jeffrey Altman Date: Tue, 3 Apr 2007 05:32:03 +0000 (+0000) Subject: windows-afslogon-20070402 X-Git-Tag: BP-openafs-windows-kdfs-ifs~746 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=26b381dc17a7705af8b9d1ba1d26d1188ae649ed;p=packages%2Fo%2Fopenafs.git windows-afslogon-20070402 restore token acquisition for non-interactive logons. --- 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);