[Yum] help! basic-auth not working from custom yum repo file
seth vidal
skvidal at fedoraproject.org
Tue Nov 9 18:00:14 UTC 2010
On Tue, 2010-11-09 at 12:58 -0500, Tom Sztur wrote:
> it seems that basic auth from a custom yum repo file is not working.
> We have our enviroment running an internal repository.
> We have had no problems with Red Hat sytems and some Ubuntu.
> However I installed YUM on Ubuntu (no choice, our entire eviroment
> runs on yum repos for distrution).
> When setting up a custom yum repo with basic auth like this:
> baseurl=http://username:password@internalip/
> or
> http://user%
> 40example.com:password at yum.example.com/foo/$releasever/$basearch
>
> I followed instructions in:
> https://bugzilla.redhat.com/show_bug.cgi?id=143691
>
> nothing helps. Error is always; 'HTTP Error 401: basic auth failed'
>
> Errors on the webserver show as no username/password being sent
> whatsoever.
>
> When I take out authentication on the server and make it work without
> a username/password it works fine.
> yum version is 3.2.25
> python version is 2.6
> Ubuntu version is 10.10.
>
> How can I fix this?
> this is becoming a huge problem.
>
what version of urlgrabber is it?
-sv
More information about the Yum
mailing list