BUG: InternetSetOption Does Not Set Credentials for NTLM Scheme

Last reviewed: November 7, 1997
Article ID: Q176439
The information in this article applies to:
  • Microsoft ActiveX SDK, version 1.0

SYMPTOMS

The InternetSetOption API does not work for the following options when used with NTLM authentication:

  • INTERNET_OPTION_USERNAME
  • INTERNET_OPTION_PASSWORD

It is not possible to set credentials with this API when using NTLM authentication.

RESOLUTION

Use InternetErrorDlg to set credentials for NTLM scheme, or ensure that the client computer has Internet Explorer 4.0 installed.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

This problem has been fixed in the Internet Client SDK, synchronized with Internet Explorer 4.0.

MORE INFORMATION

When the WinInet.dll from Internet Explorer 4.0 is used, the username and password can be set on handles returned from InternetConnect and HttpOpenRequest.

REFERENCES

Internet Client SDK documentation

Keywords          : AXSDKMisc
Technology        : kbInetDev
Version           : WINDOWS:1.0
Platform          : WINDOWS
Issue type        : kbbug


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.