HP3000-L Archives

July 2011, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Charles Finley <[log in to unmask]>
Reply To:
Date:
Mon, 11 Jul 2011 08:11:40 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (95 lines)
Would SAMBA/CIFS work for what you are doing?  That is, if you are only
sharing files would it work?

Charles Finley
(619) 795-0720

-----Original Message-----
From: James B. Byrne [mailto:[log in to unmask]]
Sent: Monday, July 11, 2011 8:08 AM
To: [log in to unmask]
Subject: Need help with CurlFTPfs

I have a need to connect to an HP3000 host via ftp to perform some
modestly intricate remote processing on a system that really is not
meant to do this via ftp (which is the only remote protocol I am
aware of that is common to both the the HP3000 and CentOS).  I would
like to be able to treat this connection as a mounted file-system.
To this end I have installed curlftpfs on the CentOS host which will
be controlling the process.

My problem is that MPEiX has a user.account type of security model
and the HP3000 FTP server therefore requires that the user name be
sent in the form userid.account and the associated passwords in the
form userpw,acctpw.  I have tried this:

curlftpfs -o user=userid.acct:userpw,acctpw host.domain.tld

The userid and account are recognized by the FTP service but the
passwords are not.  What I see is this:

]$ curlftpfs -v -o user='userid.acct:userpw,acctpw' host.domain.tld
* Couldn't find host host.domain.tld in the .netrc file, using defaults
* About to connect() to host.domain.tld port 21
*   Trying 192.168.1.102 ... * connected
* Connected to host.domain.tld (192.168.1.102) port 21
< 220 HP ARPA FTP Server [A0012H15] (C) Hewlett-Packard Co. 2000
[PASV SUPPORT]
> USER userid.account
< 331 Password required for USERID.ACCT.  Syntax: userpass,acctpass
> PASS userpw
< 331 Password required for USERID.ACCT.  Syntax: [,]acctpass
* Access denied: 331
* Closing connection #0
Error connecting to ftp: Access denied: 331

I know that .netrc has an option for providing an account password
in addition to a user password:

#.netrc
machine host.domain.tld
 login userid.acct
 password userpw
 account acctpw


However, this produces exactly the same session dialogue as above.

How does one automatically pass the account password to the HP3000
from a Linux box using the standard Linux ftp client?

Removing the account password is not an option.


--
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:[log in to unmask]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

__________ Information from ESET Smart Security, version of virus signature
database 6283 (20110711) __________

The message was checked by ESET Smart Security.

http://www.eset.com


 

__________ Information from ESET Smart Security, version of virus signature
database 6283 (20110711) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2