Article delegate-en/4935 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4924@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: FTP to SFTP gateway: multiple destinations
11 Nov 2010 15:04:35 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4924@delegate-en.ML_> on 10/24/10(10:49:15)
you Filipe Brandenburger <phqjqbdyi-hugik5wg4jxr.ml@ml.delegate.org> wrote:
 |For example:
 |1) if I authenticate with myuser@com, then act as if I specified
 |MOUNT="/* sftp://upload.example.com//* logindir" and authenticated
 |with "myuser" (this is the user that gets passed to the SFTP server)
 |2) if I authenticate with jsmith@net, then act as if I specified
 |MOUNT="/* sftp://edi.example.net:8022//* logindir" and authenticated
 |with "jsmith" (this is the user that gets passed to the SFTP server)
 |3) if I authenticate with upload@org, then act as if I specified
 |MOUNT="/* sftp://sftp.example.org//* logindir" and authenticated with
 |"upload" (this is the user that gets passed to the SFTP server)
...
 |Is this at all possible with DeleGate? Even if it's not possible to
 |define MOUNT=... conditionally, is it possible to accomplish this in
 |some other way?

Selecting a destination server by the authenticated user name can
be configured as follows:

  AUTHORIZER="-list{myuser,jsmith,upload}"
  MOUNT="/* sftp://xxx.example.com/* auth=myuser@*"
  MOUNT="/* sftp://yyy.example.net:8022/* auth=jsmith@*"
  MOUNT="/* sftp://zzz.example.orgc/* auth=upload@*"

Cheers,
Yutaka
--
  9 9   Yutaka Sato, CSDP,ITIL-F <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V