kfwlogon corrections for XP
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 18 Apr 2007 01:47:08 +0000 (01:47 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 18 Apr 2007 01:47:08 +0000 (01:47 +0000)
commit53df682ae3371198e44f38534264ca20966ff856
treee76d1b4d47b0c463cbaac0c1133937a7f32f711d
parented0fe6c23007890333ef45886fd97b8775896d86
kfwlogon corrections for XP

This patch addresses a problem discovered on some XP systems.
After rundll32.exe starts, the CreateProcess can fail to
start kfwcpcc.exe if the current directory is not %WinDir%\System32.
CreateProcess() should be called with the lpApplicationName parameter
set to NULL in order to permit the use of the PATH.

Also, in ConfigureLogonScript ensure that the trailing NUL of the
constructed command line is processed when producing the wide
character version of the string.

ticket: new
component: windows
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19488 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/kfwlogon/kfwlogon.c