[Q] proxy@sol11-zones vs. IPS
PRESSY <[email protected]> Wed, 17 Oct 2012 15:24:16 +0200
| Newsgroups | gmane.os.solaris.managers |
|---|---|
| Message-ID | <[email protected]> |
hello hello, we are trying to install zones from the official repository (solaris/support) using a proxy with authentication to the internet. within the global zone, you can set an env-var for $http_proxy and $https_proxy defining your proxy user: # export http_proxy='http://WIN-DOMAIN\user:[email protected]:8080' # export https_proxy='https://WIN-DOMAIN\user:[email protected]:8080' (-> just want to say, that our passwords ends with an exclamation mark "!", if that could be a problem) This works perfect for the global zone, no issues with IPS/pkg, btw. we are running Solaris 11 11/11 SRU 12.4. BUT the zone-installer is not able to connect to the oracle publisher issuing "# zoneadm -z foo install" Dr. Google says, that you can define proxy settings if you want to use zones behind a proxy # svccfg -s svc:/application/pkg/system-repository:default setprop config/http_proxy=astring: "https://proxy:port" source: http://docs.oracle.com/cd/E23824_01/html/821-1460/glqjr.html we tried: svc:/application/pkg/system-repository:default> setprop config/http_proxy = http://WIN-DOMAIN\user:[email protected]:8080<http://domain/usr:pwd@p roxy:8080> but refresh/restart the SMF-service fails with: [ Oct 16 15:47:03 Executing refresh method ("/lib/svc/method/svc-pkg-sysrepo refresh"). ] Syntax error on line 243 of /system/volatile/pkg/sysrepo/sysrepo_httpd.conf: ProxyRemote: Bad syntax for a remote proxy server (bad port number) In this 243 Line we have: ProxyRemote http http://WIN-DOMAIN\\user:[email protected]:8080 we tried several escape-characters and combinations by setting the http-string with " ' ` 4 and so on... always the same error message. any ideas what is the RIGHT SYNTAX for DEFINING the AUTHENTICATION in the PROXY-STRING or HOW TO SET the PROXY-USER ;) thanks in advance, regards - pressy