BUG: InternetSetOption Does Not Set Credentials for NTLM Scheme

ID: Q176439


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) version 3.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

Additional query words:

Keywords : kbIE300 AXSDKMisc
Version : WINDOWS:3.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: August 27, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.