From: "Moore, Chuck" <ChuckM () DIS ! WA ! GOV>
To: tru64-unix-managers
Subject: FTP: slashes in target userid disappearing during login
Date: Sat, 20 Feb 1999 00:47:31 +0000 [thread overview]
Message-ID: <96079036515833.tru64-unix-managers.marc@archive.invalid> (raw)
Hello,
We have an Alpha/DEC-Unix system running 4.0d. I'm trying to set up an
automated FTP process which will (mget) multiple files from an NT server.
The ever inventive NT folks have created a userid + password pair similar
to: "doghouse\snoopy" + "*dogbone" .
The DEC Unix FTP command has the option of automating FTP operations via a
'.netrc' file in $HOME. Therefore as I am root, I've set up a /.netrc file
likeunto:
machine peanuts
login "doghouse\snoopy"
password "*dogbone"
macdef init
prompt
mget *.inp
close
bye
<linefeed>
<linefeed>
Problem: the NT machine gets a userid passed to it with a slash missing
(i.e. "doghousesnoopy"). Here is the output:
ftp peanuts
Connected to peanuts.
220 woodstock-iis Microsoft FTP Service (Version 4.0).
331 Password required for doghousesnoopy.
530 User doghousesnoopy cannot log in.
Login failed.
The confusing part is that I can (manually) login via the command line and
everything works OK:
ftp -n peanuts
ftp> user "doghouse\snoopy"
331 Password required for doghouse\snoopy.
Password:
230-Welcome to Woodstock FTP Site.
230 User doghouse\snoopy logged in.
ftp>
.....
Anyone have any ideas on this issue ?
-- Chuck Moore
reply other threads:[~1999-02-20 0:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox