[Yum] help! basic-auth not working from custom yum repo file

Tom Sztur tsztur at gmail.com
Tue Nov 9 18:25:13 UTC 2010


Hi Seth,
it shows as the following .deb package was installed for urlgrabber:
python-urlgrabber_3.1.0-5ubuntu1_all.deb

I also tried copying the grabber.py from python2.3 (from a system that does
work) but no luck :(


TIA

(sorry I had to reply directly to you and cc the list, gmail has problems
with some maillingl ists)


--


what version of urlgrabber is it?

-sv



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@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.

tia.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20101109/801ccd59/attachment.html>


More information about the Yum mailing list