Re: help! basic-auth not working from custom yum repo file

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1289325614.20308.28.camel@oliver>
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:[email protected]/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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.