FTP: slashes in target userid disappearing during login

From: Moore, Chuck <ChuckM_at_DIS.WA.GOV>
Date: Fri, 19 Feb 1999 16:47:31 -0800

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


 
Received on Sat Feb 20 1999 - 00:50:08 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT