Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 23804 - rpm doesn't properly download http files with user:passwd specified
rpm doesn't properly download http files with user:passwd specified
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-01-11 12:22 EST by Brian Brock
Modified: 2007-04-18 12:30 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-06-19 01:24:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Brian Brock 2001-01-11 12:22:38 EST
parsing of the rpm command line for rpm packages located on a remote http
server does not work, rpm complains that the file can not be located
without attempting to authenticate to the remote http server.

user test, passwd test exists for http and ftp service such that the
combination username:passwd of test:test as part of a URL on command line
will download an rpm.

verified for rpm-4.0.4 on a 7.0 machine.

The http server recieving the request logs an attempt to download the file
with status 401 (Authorization Required).  Turning off authentication
mechanisms on the http server allows the download to occur successfully.

filename path in both realms is  /test/zsh-3.0.8-3.i386.rpm

$ rpm -vv -qip http://test:test@host/test/zsh-3.0.8-3.i386.rpm
open of http://test:test@schooner/test/zsh-3.0.8-3.i386.rpm failed: File
not found on server
$ rpm -vv -qip ftp://test:test@host/test/zsh-3.0.8-3.i386.rpm
D: logging into schooner as test, pw test
D: New Header signature
D: Signature size: 149
D: Signature pad : 3
D: file is not regular -- skipping size check
Name        : zsh                          Relocations: (not relocateable)
Version     : 3.0.8                             Vendor: Red Hat, Inc.


[package description continues as normally expected]
Comment 1 Jeff Johnson 2001-12-09 13:18:11 EST
Adding user@passwd only ever worked using an rpm client
against a TIS firewall http server AFAIK. Yes, TIS firewall
http servers are by no means common these days.

Please open a RFE naming a specific type of firewall
that you wish rpm to function with if you want an implementation.

Note You need to log in before you can comment on or make changes to this bug.