Dial-up credentials
How can I setup dial-up credentials, so that windows service (ATL) running
under "Local System" account will successfully call RasDial?
Currently RasDial dials OK when is used in an application but if I move the
very same code to a Windows Service (ATL) it fails as following:
- if filling RASDIALPARAMS structure manually: rasDial Callback says that
"Access was denied because the username and/or password was invalid on the
domain."
- if using the phonebook entry: RasGetEntryDialParams() output has all
RASDIALPARAMS fields empty.
Thank you!
|