View previous topic :: View next topic
|
Author |
Message |
arunn
New User
Joined: 03 Sep 2010 Posts: 15 Location: Bengaluru
|
|
|
|
Hi Guys,
I have a certain query with an FTP abend received. I am pretty new to FTP process so tried finding out all that i could before writing in the forum.
I saw two post previously posted with something similar that i am looking for:
Link1 : ibmmainframes.com/about30781.html
Link2 : ibmmainframes.com/about23819.html
Went thru both of them and the manual but still ended up with questions.
Now Coming to my issue, the JCL looks something like this :
Code: |
//FTPSTEP EXEC PGM=FTP,COND=(8,LE),TIME=60,PARM='(EXIT'
//SYSFTPD DD DSN=TEST.FTP.DATA,DISP=SHR
//SYSTCPD DD DSN=TEST.TCPDATA,DISP=SHR
//INPUT DD DSN=TEST.FTPCARD,DISP=OLD
//OUTPUT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=* |
The FTP card has parameters as below :
Code: |
127.0.0.1
username
password
ASCII
PUT 'TEST.FILENAME' '12345678.TTT'
RENAME '12345678.TTT' '12345678.TXT' |
The job abended at the FTPSTEP, the sysout is as below:
Code: |
EZA1736I FTP (EXIT
EZY2640I Using dd:SYSFTPD=TEST.FTP.DATA for local site configuration
EZA1450I IBM FTP CS V1R12
EZA1466I FTP: using TCPIP
EZA1772I FTP: EXIT has been set.
EZA1456I Connect to ?
EZA1736I IP ADDRESS
EZA1554I Connecting to: 127.0.0.1 port: 21.
220 Microsoft FTP Service
EZA1459I NAME (127.0.0.1 : ESP):
EZA1701I >>> USER username
331 Password required for username.
EZA1789I PASSWORD:
EZA1701I >>> PASS
530 User username cannot log in.
EZA1735I Std Return Code = 26530, Error Code = 00011
EZA1701I >>> QUIT |
i cross referenced the manuals and was able to find out the meaning of the return code and the error code :
Std Return Code = 26530
Code number - 26
Subcommand - PASS
EXIT_IF_ERROR - true
530 Server requires authorized user
Explanation: The connection to the FTP server is protected by the GSSAPI security mechanism. The server Use [URL] BBCode for External Links file contains the statement SECURE_LOGIN VERIFY_USER. The USER command that was received has a username that does not match the name found in the Kerberos credentials sent from the client during the authentication negotiation.
System Action: The USER command is rejected. FTP continues.
User Response: Log in using the username that matches the name that is passed in the Kerberos credentials.
System Programmer Response: If username match is not necessary, change the SECURE_LOGIN statement to have a value of either REQUIRED or OPTIONAL.
Error Code = 00011
Code - 11
Error - FTP_LOGIN_FAILED
Examples of cause - User ID, password, or account info is not valid.
Now with all the information posted above, my query concerns from the sysout. Taking a closer look at it you will notice that there are the notes that 530 User username cannot log in. Same query is in Link 1 pasted above.
In link 2 the similar notes mentions 530 PASS command failed.
I am yet to know if the username or password was incorrect when passed in for my JCL . Hopefully someone might get that info for me when this job had actually failed.
My question is here :
1. Are there any other info that could passed for the notes starting with 530.
2. Where does that information get populated from.
3. Could there be different messages sent for a similar issue - Std Return Code = 26530, Error Code = 00011 .
I hope with the info put above it answers any queries you may get. Hopefully it should not turn out to be too much info for the query. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
It is pretty standard if either Username or Password is wrong for a system to respond "Username or Password is wrong", the same message for both cases. It saves giving a clue to someone trying to get access to a system if they do not know if either, or both indeed, are incorrect. A system should never tell you that either a Username or a Password is correct, except by allowing you to log-on after successfullt entering both. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Code number - 26
Subcommand - PASS
EXIT_IF_ERROR - true
530 Server requires authorized user
For me its a password issue. And 127.0.0.1 is a loopback IP, thats a very strange IP to FTP to. |
|
Back to top |
|
|
arunn
New User
Joined: 03 Sep 2010 Posts: 15 Location: Bengaluru
|
|
|
|
Thanks for the response guys.
The IP is just a sample random IP i took up. Just for example purposes. I thought i had included that in the initial post...oops , my bad. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Well if you used it, you just FTP'ed to yourself. Talk with the network/security people. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
How do you know the userid/password combination used is valid?
You need to work with the people who support the remote system and make sure the user is defined properly (including proper permissions). |
|
Back to top |
|
|
|