Re: apt: Uses bogus ftp password on ftp:// urls
hmm, should the password be encoded into the url?
is it possible to do something like this:
ftp://anonymous:"foo@foo.bar"@ftp.inka.de
maybe this way, since 40 is hex for "@":
ftp://anonymous:foo%40foo.bar@ftp.inka.de
-brad
On Fri, 26 Jun 1998, Florian Hinzmann wrote:
> Package: apt
> Version: 0.0.17-1
>
> I have problems using an ftp:// url with apt.
>
>
> My /etc/apt/sources.list:
> -------------- begin: sources.list --------------
> deb ftp://ftp.inka.de/debian hamm main contrib non-free
> deb ftp://ftp.inka.de/debian-non-US hamm/binary-i386/
> --------------- end: sources.list ---------------
>
> When I all [U]pdate out of dselect I get:
>
> ********************************************************************************
> Get ftp://ftp.inka.de hamm/binary-i386/ Packages
> 0% [Packages `Authenticating' 0]Please use your e-mail address as your password
> for example: joe@max2-239.public.uni-hamburg.de or joe@
> [max2-239.public.uni-hamburg.de will be added if password ends with @]
> Login incorrect.
> Error ftp://ftp.inka.de hamm/binary-i386/ Packages
> Failed to login to ftp.inka.de:The response 'fh@nowhere' is not valid
> 0% [Packages `Authenticating' 0]Please use your e-mail address as your password
> for example: joe@max2-239.public.uni-hamburg.de or joe@
> [max2-239.public.uni-hamburg.de will be added if password ends with @]
> Login incorrect.
> Get ftp://ftp.inka.de hamm/contrib Packages
> 0% [Packages `Re trying to get
> /debian/dists/hamm/contrib/binary-i386/Packages.gz:Please login with USER
> anSyswrite on closed filehandle at /usr/lib/perl5/Net/Cmd.pm line 169 (#1)
>
> (W) The filehandle you're writing to got itself closed sometime before now.
> Check your logic flow.
>
> Use of uninitialized value at /usr/lib/perl5/Net/Cmd.pm line 210 (#2)
>
> (W) An undefined value was used as if it were already defined. It was
> interpreted as a "" or a 0, but maybe it was a mistake. To suppress this
> warning assign an initial value to your variables.
>
> 0% [Packages `Get mtime' 0]
> ********************************************************************************
>
>
> I tried some anon-logins manually:
>
> ftp.inka.de accepts as pws:
> foo@
> foo@bar.anything
>
> It does not accept:
> foo
> foo@bar
>
> So anything with "@" and "." seems to be ok. What does apt use?
>
> "apt-get update" typed in a shell leads to the same results.
>
>
> Greetings
> Florian
>
>
> -- System Information
> Debian Release: 2.0
> Kernel Version: Linux nowhere 2.0.33 #8 Fri May 8 10:28:28 CEST 1998 i586
> unknown
>
> Versions of the packages apt depends on:
> ii libc6 2.0.7r-2 The GNU C library version 2 (run-time files)
> ii libstdc++2.8 2.90.29-0.5 The GNU stdc++ library (egcs version)
>
> --- Begin /etc/apt/sources.list (modified conffile)
> deb ftp://ftp.inka.de/debian hamm main contrib non-free
> deb ftp://ftp.inka.de/debian-non-US hamm/binary-i386/
>
> --- End /etc/apt/sources.list
>
> ---
> Florian Hinzmann f.hinzmann@public.uni-hamburg.de
> fh@dipa.de
> NEW PGP-Key fingerprint: DD 61 74 34 04 FB 8A BD 43 54 83 38 0C 82 EF B1
>
>
> --
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: