Microsoft KB Archive/823359

= ISA Server Web Proxy Does Not Append the Domain Name Suffix to the Credentials That Are Passed to an FTP Server =

Article ID: 823359

Article Last Modified on 6/14/2007

-

APPLIES TO


 * Microsoft Internet Security and Acceleration Server 2000 Standard Edition

-



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you use the Microsoft Internet Security and Acceleration (ISA) Server 2000 Web Proxy service to anonymously connect to an FTP site, you may receive the following HTTP - 502 error message:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

Please try the following:
 * Click the Refresh button, or try again later.
 * Open the  home page, and then look for links to the information you want.
 * If you believe that you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the  home page.

HTTP 502 - Bad gateway

Internet Security and Acceleration Server

If you use an FTP client program that does not use the Web Proxy service to access this FTP site (for example, if you use FTP.exe), you can access the FTP site successfully.



CAUSE
This problem occurs because when you connect to an FTP server that requires user authentication for anonymous connections, and no credentials are defined in the initial connection URL, ISA Server uses predefined credentials in the following format:

User name: anonymous

Password: proxyuser@

However, if the FTP server is configured so that it must have specific information in the domain portion of the credentials (the portion after the &quot;at&quot; (@) sign), the authentication is unsuccessful and ISA Server returns. For example, the FTP server may require a credential that is similar to the following credential:

@

an HTTP - 502 error message.

Note The Web Proxy service does not support non-anonymous FTP servers unless you include the credentials in the URL.



Hotfix Information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
You must install ISA Server Service Pack 1 (SP1) before you install this hotfix.

For additional information about how to obtain the latest ISA Server service pack, click the following article number to view the article in the Microsoft Knowledge Base:

313139 How to Obtain the Latest Internet Security and Acceleration Server 2000 Service Pack

Restart Requirement
You must restart the W3Proxy service to apply the changes after you install this hotfix.

Hotfix Replacement Information
This hotfix does not replace any other hotfixes.

File Information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version       Size     File name ---

30-Sep-2003 17:09  3.0.1200.293  103,184  Msphlpr.dll 30-Sep-2003 17:09  3.0.1200.293  178,448  Mspadmin.exe 30-Sep-2003 17:08  3.0.1200.293  392,976  W3proxy.exe 30-Sep-2003 17:09  3.0.1200.293  299,280  Wspsrv.exe Note This hotfix does not contain special code for other language editions of ISA Server 2000.

Windows Registry Information
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

After you install this hotfix, you must add the following Windows registry value:

Value name:

Value type: REG_SZ

Value data: @

To do this, follow these steps:  Click Start, click Run, type regedit in the Open box, and then click OK. Locate, and then click the following registry subkey:

 Right-click Parameters, point to New, and then click String Value. Type:

WebProxyFtpClientPassword

 Right-click WebProxyFtpClientPassword, and then click Modify. In the Value data box, type:

@

</li> Click OK.</li> Quit Registry Editor, and then restart the W3Proxy service.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in Microsoft Internet Security and Acceleration Server 2000.

<div class="moreinformation_section">

MORE INFORMATION
Because of the way that most Web browser programs transform the FTP site request to canonical form, you cannot specify your credentials in the initial request URL to work around this problem. For example, to work around this problem, you cannot type a request that is similar to the following request:

ftp://anonymous: @. @ftp.

In this scenario, the Web browser program interprets the first instance of the &quot;at&quot; (@) sign to indicate where the user credential portion of the request ends with the remainder of the request interpreted as the actual URL. As a result, the request is not successful because the Web browser incorrectly interprets the URL as the following URL:

@ftp.

Keywords: kbhotfixserver kbqfe kbisaserv2000presp2fix kbfix kbbug KB823359

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.