I also tried copying the grabber.py from python2.3 (from a system that does work) but no luck :(
(sorry I had to reply directly to you and cc the list, gmail has problems with some maillingl ists)
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@xxxxxxxxxxxxxxx/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.