Hello,
On MSDN, the documentation about LogonUser() says
that
if the LogonUser() call is successful, the system
notifies network providers that the logon occurred by
calling the provider’s NPLogonNotify entry-point
function.
In my case, I am calling the function LogonUser with
the
parameters as follows.
LogonUser( pAccount->pszUsername,
pAccount->pszDomain,
pAccount->pszPassword,
LOGON32_LOGON_INTERACTIVE,
LOGON32_PROVIDER_DEFAULT,
&hUser))
DO the parameters used in the function call have to
be
different or is it ok ??
Because I have tried setting the provider as
credential manager by setting the Class subkey to
WN_CREDENTIAL_CLASS | WN_NETWORK_CLASS.
I am returning 0x1 for WNNC_START case value in the
NPGetCaps() function call.
I have tried changing the provider order.
Now my customized network provider gets called and
then LANMAN and others.
I have tried changing it the other way around but no
results.
Somehow NPLogonNotify() is not getting called.
Would anybody be able to help me on this ??
Thanks for helping.
Bikramjeet.
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/