[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] FTP weirdness



A client of mine has been testing a shell script from their linux box (not on the same network as my Raq4i's)....the shell script performs a backup from their linux box to their domain via ftp. This client has 2 domains, and due to the fact that no user can have the same "user name" on a Raq4, this is how things are setup (names are changed to protect the innocent):
  first domain: my-domain-number1.com
  user/siteadmin: jsmith
  password: 12345
  second domain: my-domain-number2.com
  user/siteadmin: smith
  password: 12345

Here's the weird part....in the shell script, the user was to connect via ftp to "my-domain-number2.com", but inadvertently used his user name for site#1....when the script connected, it actually sent the user to "my-domain-number1.com" even though "my-domain-number2.com" was specified as the domain to which it should connect. The shell script performed as it should, uploading files to the (wrong) domain. This was only brought to my attention when the Raq4 sent an email for domain number #1 being over quota. Curiosity led me to attempt to do the same via a windoze ftp client. I set the windoze ftp client to connect to "some-domain.com" using a login and password for a _different_ domain "some-other-domain.com" (on the same server)....when the ftp client connected, it appeared to connect to the _proper_ IP address for "some-domain.com" yet the directories and files were those for "some-other-domain.com" ! It appears that no matter which domain name is placed into the ftp client, if the login and password are _that_ of another domain on the SAME machine, the ftp client will connect to the _other_ domain. This does not happen across different Raq's, I tried that, it only happens for domains on the same box.

Anyone ever seen this before? It looks like a security issue to me, but I could be wrong. If I haven't been very clear, please do not hesitate to contact me and I will attempt to explain it a little better.

TIA,
Mike

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx