Re: ftp error messages
From: Adams Kevin J (kevin.adams_at_PHS.COM)
Date: 06/25/04
- Previous message: David Zarnoch: "Re: LTO drive install problems"
- Maybe in reply to: David Zarnoch: "ftp error messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Jun 2004 13:39:09 -0700 To: aix-l@Princeton.EDU
The best I can do is:
libs.cat
42 "3004-300 You entered an invalid login name or password.\n"
Don't know what libs.cat does or what else uses it. It seems to be all about
passwords.
Perhaps FTPD adds the 530.
I ran:
for f in $(ls *.cat);do echo $f;dspcat -g /usr/lib/nls/msg/en_US/$f|grep
"You entered an invalid login name or password";done
It would be easier to make the first same as the second. :-)
Kevin Adams
PacifiCare Behavioral Health
3120 Lake Center Drive
Mail Stop LC01-394
Santa Ana, CA 92704
Email: kevin.adams@phs.com
Work: 714-445-0343
Fax: 714-445-0475
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
David Zarnoch
Sent: Friday, June 25, 2004 10:22 AM
To: aix-l@Princeton.EDU
Subject: Re: [aix-l] ftp error messages
Very slick....
The second as same as the first
However, the phrase "You entered an invalid login name or password"
is not in the message list...
Do you know where it is coming from?
The entire line reads "530-3004-300 You entered an invalid login name or
password."
Thanks!
Dave
>>> kevin.adams@PHS.COM 06/25/04 12:48PM >>>
When you say you want it to be the same, which one do you mean? The first
the same as the second, or vice versa?
You don't have to recompile or install anything, just change the ftpd
message catalog as follows:
# dspcat -g /usr/lib/nls/msg/en_US/ftpd.cat > /tmp/ftpd.msg
# vi /tmp/ftpd.msg (look for and change the message text)
# gencat /tmp/ftpd.cat /tmp/ftpd.msg
# cp -p /tmp/ftpd.cat /usr/lib/nls/msg/en_US/ftpd.cat
You will probably be asked to change your FTP server version info to
something more generic, i.e., "FTP server ready" (no version info), and this
method allows you to do that as well.
Be careful not to break anything that looks for certain messages, like an
Expect script that automates ftp processes.
Kevin Adams
PacifiCare Behavioral Health
3120 Lake Center Drive
Mail Stop LC01-394
Santa Ana, CA 92704
Email: kevin.adams@phs.com
Work: 714-445-0343
Fax: 714-445-0475
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
David Zarnoch
Sent: Friday, June 25, 2004 8:26 AM
To: aix-l@Princeton.EDU
Subject: [aix-l] ftp error messages
Folks,
Got an unusual request from our Security department
When you ftp to a server with an incorrect user id, it results in the
following:
Connected to <some address>
220 chh-lpar1 FTP server (Version 4.1 Fri Nov 21 12:40:53 CST 2003) ready.
Name (<some address>:me): blah
331 Password required for blah.
Password:
530 Login incorrect.
Login failed.
ftp>
When yo ftp to a server with an incorrect password, it results in:
530-3004-300 You entered an invalid login name or password.
530 Login incorrect.
Login failed.
ftp>
Is there anyway to get ftp to display the same error message regardless
whether it was an invalid password or invalid user id?
Thanks!
Dave Zarnoch
dave.zarnoch@bisys.com
This electronic message transmission, including any attachments, contains
information from PacifiCare Health Systems Inc. which may be confidential or
privileged. The information is intended to be for the use of the individual
or entity named above. If you are not the intended recipient, be aware that
any disclosure, copying, distribution or use of the contents of this
information is prohibited.
If you have received this electronic transmission in error, please notify
the sender immediately by a "reply to sender only" message and destroy all
electronic and hard copies of the communication, including attachments.
This electronic message transmission, including any attachments, contains information from PacifiCare Health Systems Inc. which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.
If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.
- Previous message: David Zarnoch: "Re: LTO drive install problems"
- Maybe in reply to: David Zarnoch: "ftp error messages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|