Windows Credential Manager help

From: Sekar (chandarcit_at_rediffmail.com)
Date: 12/22/03


Date: 21 Dec 2003 21:55:19 -0800

I am learning about SSO in Windows using Windows Credential Manager.I
am working on Windows2000 Prof. belonging to a Win2K domain.
I tested the LogonNP sample program that comes with MS Platform SDK
CD.I built the module and its getting installed properly and also
NPLogonNotify function is getting called.
The MSDN docs say that "MSV1_0:Interactive" value will be passed to
lpAuthentInfoType parameter.
I am getting that value properly.
When i converted the "lpAuthentInfo" parameter to
PMSV1_0_INTERACTIVE_LOGON structure, the LogonDomainName, UserName and
Password fields are returning proper value.
But, the MessageType member of the structure returns a junk value. I
expected it to return one of the MSV1_0_LOGON_SUBMIT_TYPE enum
values(any one of numerals 2 to 5).Rather, i expected it to return 2
meaning "MsV1_0InteractiveLogon".
Any help would be much appreciated.
Thanks,
Sekar