Hi, I am having problem with setting up the proxy for yum correctly. I have got no influence on proxy policy or authentication methods. The proxy username contains the '@' character. My question is if there is any way how to enter the username correctly into the yum.conf. I tried many ways but has not been successful yet.
Many thanks, David
Dear David,
Why dont u bypass this sytem from proxy, or use some transparent proxy.
Regards,
Umair Shakil ETD
On 9/11/07, David Toman david.toman@dhl.com wrote:
Hi, I am having problem with setting up the proxy for yum correctly. I have got no influence on proxy policy or authentication methods. The proxy username contains the '@' character. My question is if there is any way how to enter the username correctly into the yum.conf. I tried many ways but has not been successful yet.
Many thanks, David _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dear Umair, the issue is that I have got no access to the proxy configuration, it is simply there :-)
I have spent another day with searching but no success yet.
Regards, David
umair shakil wrote:
Dear David,
Why dont u bypass this sytem from proxy, or use some transparent proxy.
Regards,
Umair Shakil ETD
On 9/11/07, *David Toman * <david.toman@dhl.com mailto:david.toman@dhl.com> wrote:
Hi, I am having problem with setting up the proxy for yum correctly. I have got no influence on proxy policy or authentication methods. The proxy username contains the '@' character. My question is if there is any way how to enter the username correctly into the yum.conf. I tried many ways but has not been successful yet. Many thanks, David _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
David Toman wrote:
Dear Umair, the issue is that I have got no access to the proxy configuration, it is simply there :-)
I have spent another day with searching but no success yet.
Regards, David
Hi
http_proxy understands the format <username>:<password>@<my proxy>:<proxy port> so in this case the @ is probably being interpreted as server identifier. I would try enclosing the user name in single quotes or adding a \ before the @. If these do not work your only option may be to contact the proxy admin and obtain a username without the @
umair shakil wrote:
Dear David,
Why dont u bypass this sytem from proxy, or use some transparent proxy.
Regards,
Umair Shakil ETD
On 9/11/07, *David Toman * <david.toman@dhl.com mailto:david.toman@dhl.com> wrote:
Hi, I am having problem with setting up the proxy for yum correctly. I have got no influence on proxy policy or authentication methods. The proxy username contains the '@' character. My question is if there is any way how to enter the username correctly into the yum.conf. I tried many ways but has not been successful yet. Many thanks, David _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Clint Dilks wrote:
http_proxy understands the format <username>:<password>@<my proxy>:<proxy port> so in this case the @ is probably being interpreted as server identifier. I would try enclosing the user name in single quotes or adding a \ before the @. If these do not work your only option may be to contact the proxy admin and obtain a username without the @
If putting '@' to escape the at sign didn't work, have you tried using the URL escape code of '%40' to represent it?
Brad Beyenhof wrote:
Clint Dilks wrote:
http_proxy understands the format <username>:<password>@<my proxy>:<proxy port> so in this case the @ is probably being interpreted as server identifier. I would try enclosing the user name in single quotes or adding a \ before the @. If these do not work your only option may be to contact the proxy admin and obtain a username without the @
If putting '@' to escape the at sign didn't work, have you tried using the URL escape code of '%40' to represent it?
I was really curious about this, so I googled around a bit. I don't know about the support in the environment variables, but from what I'm reading, the "%40" encoding should definitely work if you use the proxy variables in yum.conf, ie: proxy=http://proxyserver.somedomain.local:portnum/ proxy_username=username%40stuffafteratsymbol proxy_password=password
This should at a minimum be true for CentOS 4.5 since I cracked open the python on my box to see exactly what the proxy code was doing :)
-Shawn
Shawn K. O'Shea wrote:
I was really curious about this, so I googled around a bit. I don't know about the support in the environment variables, but from what I'm reading, the "%40" encoding should definitely work if you use the proxy variables in yum.conf, ie: proxy=http://proxyserver.somedomain.local:portnum/ proxy_username=username%40stuffafteratsymbol proxy_password=password
This should at a minimum be true for CentOS 4.5 since I cracked open the python on my box to see exactly what the proxy code was doing :)
Shawn, thank you very much, this really made the trick! And I can confirm that the above works fine on CentOS release 5 (Final)
Regards, David
Dear David,
In my understanding, you are trying to say that; yum not running or updating because you are behind the proxy????
yum i suppose uses HTTP method, user name and passwd will be provided in the browser.
Regards,
Umair Shakil ETD
On 9/12/07, David Toman david.toman@dhl.com wrote:
Dear Umair, the issue is that I have got no access to the proxy configuration, it is simply there :-)
I have spent another day with searching but no success yet.
Regards, David
umair shakil wrote:
Dear David,
Why dont u bypass this sytem from proxy, or use some transparent proxy.
Regards,
Umair Shakil ETD
On 9/11/07, David Toman david.toman@dhl.com wrote:
Hi, I am having problem with setting up the proxy for yum correctly. I have got no influence on proxy policy or authentication methods. The proxy username contains the '@' character. My question is if there is any way how to enter the username correctly into the yum.conf. I tried many ways but has not been successful yet.
Many thanks, David _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.orghttp://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
David Toman wrote:
Hi, I am having problem with setting up the proxy for yum correctly. I have got no influence on proxy policy or authentication methods. The proxy username contains the '@' character. My question is if there is any way how to enter the username correctly into the yum.conf. I tried many ways but has not been successful yet.
you might want to ask on the yum list at https://lists.dulug.duke.edu/mailman/listinfo/yum