IBM Support

PK21126: LOGON TO FTP REMOTE SERVER FAILS IF PASSWORD BEGINS WITH ! (EXCLAMATION)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If user has a password that begins with a ! (exclamation point),
    this password will not be passed to the remote system at the
    password prompt.
    
    This is because FTP is interpreting the ! as an escape character
    which
    1) When  FTP is invoked from the unix shell, FTP will pass
    the text following the ! to unix for processing as a local unix
    command.
    2) When FTP is invoked from MVS, FTP interprets this as an
    attempt to enter a unix shell command and rejects it with
    the following error message is returned:
    331 OK need password.
    PASSWORD
    
    
    Command  !  may only be issued from client running under the
    z/OS UNIX shell.
    >>> PASS
    530 Invalid user ID and/or password. Cannot log in.
    Command:
    

Local fix

  • After the password failure message, the circumvention depends on
    mode ftp is in:
    
    When attempting to log on from MVS, after the password failure,
    add the password to the USER subcommand
    
    331 OK need password.
    PASSWORD
    
    
    Command  !  may only be issued from client running under the
    z/OS UNIX shell.
    >>> PASS
    530 Invalid user ID and/or password. Cannot log in.
    Command:
    user tony !passwd
    
    When attempting to log on from the unix shell:
    >>> USER tony
    331 OK need password.
    PASSWORD
    
    tony: FSUM7351 not found
    PASSWORD
    
    >>> PASS
    530 Invalid user ID and/or password. Cannot log in.
    Command:
    pass !passwd
    >>> PASS
    230 Welcome
    Command:
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the IBM Communications Server   *
    *                 for z/OS Version 1 Release 7 IP: FTP         *
    *                 client                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: If a password or userid started with    *
    *                      an exclamation point (!) it was         *
    *                      incorrectly treated as a command.       *
    *                      This stopped the user from accessing    *
    *                      the remote FTP server.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Code was present in z/OS V1R7 that forced any data read by the
    FTP client that started with an exclamation point to be treated
    as if it were a z/OS UNIX shell command.
    In the TSO environment this produced error message:
    EZA2788I Command ! may only be issued from client running under
    the z/OS shell.
    In the z/OS UNIX shell environment this produced error message:
    FSUM7351 not found
    +-------------------------------------------------------------+
    + Please check our Communications Server for OS/390 homepages +
    + for common networking tips and fixes.  The URL for these    +
    + homepages can be found in Informational APAR II11334.       +
    +-------------------------------------------------------------+
    

Problem conclusion

  • Code was added that now allows a userid or password starting
    with an exclamation mark to be passed to the FTP server for
    validation by the server.
    
    * Cross Reference between External and Internal Names
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK21126

  • Reported component name

    TCP/IP V3 MVS

  • Reported component ID

    5655HAL00

  • Reported release

    170

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2006-03-08

  • Closed date

    2006-03-17

  • Last modified date

    2006-06-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UK12701 PK26974

Modules/Macros

  • EZAFTPCU
    

Fix information

  • Fixed component name

    TCP/IP V3 MVS

  • Fixed component ID

    5655HAL00

Applicable component levels

  • R170 PSY UK12701

       UP06/05/17 P F605

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"170","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCY4DZ","label":"DO NOT USE"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"170","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
22 June 2006