During test of FTP connection getting a message FTP pass reply: 332 Enter proxy password. And the connection test fails.

Document ID : KB000050545
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When doing an FTP connection test in the MSM Gui under the System Settings, Software Acquisition, you get an error connecting to the CA FTP servers and in the MSMTC logs you find the message:

DEBUG (http-22120-1) 2011-02-15 08:08:15,870 (FTPProxy.java:327): FTP pass reply: 332 Enter proxy password.

Solution:

The '332' ftp reply code is documented in RFC959 as: 332 Need account for login.
That is an indicator that the ACCT keyword is missing. Note that the ACCT parameter, so far, has been the ftp proxy password. That is a site-defined implementation.

The "FTP XML Proxy Settings" in the 3.1 Product Guide describes the keywords like REMOTE_USER and HOST, etc.

The ACCT keyword is missing. The description is:

Instructs the CA MSM FTP client to issue an ACCT command to the FTP server. This keyword has been implemented to allow an accompanying parameter. That parameter is typically the proxy password represented by the keyword PW.

For an example using the ACCT keyword, the input to your FTP batch job might be the following:

//INPUT DD *        
proxy_host_URL_or_IP 
anonymous@ftp.ca.com   proxy_userid
Support_Online_user_id      
ACCT proxy_password 
/* 

Note that there is a space preceding the proxy_userid. There may even be quotes surrounding the second input line.

In this case, you would edit the advanced settings data set as follows:

<FIREWALL>
<FIRECMD>HOST;</FIRECMD>
<FIRECMD>REMOTE_USER;@REMOTE_HOST; USER;</FIRECMD>
<FIRECMD>REMOTE_PW;</FIRECMD>
<FIRECMD>ACCT; PW;</FIRECMD>
</FIREWALL>