Red Hat Bugzilla – Bug 194247
Can't get initial kickstart when URL requires auth
Last modified: 2010-10-22 01:04:27 EDT
In the anaconda logs, you might see:
* reverse name lookup worked
* ks location: ftp://ftpuser:firstname.lastname@example.org/home/ftpuser/ks.cfg
* transferring ftp://ftpuser:email@example.com//./home/ftpuser/ks.cfg to a fd
* failed to retrieve http://ftpuser:firstname.lastname@example.org///home/ftpuser/ks.cfg
The attached patch adds support for parsing login and password from the URI
itself. I also attached a test program to see whether there were any regressions
in the parsing.
I'm afraid my patch uses the same lax memory management as the original code
(host and path are never freed).
Created attachment 130617 [details]
Created attachment 130618 [details]
RHEL4 patch, if necessary.
Created attachment 130619 [details]
Patch applied to rawhide. Flagging for inclusion in RHEL-4.6.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.