My online account is also an email address in the form, first.l...@company.com
and it works. You could try the -a switch to force it to prompt you for the password, as needed. derek On Wed, Oct 07, 2009 at 11:54:00AM -0400, Earle, William B - SSD wrote: > I have a valid Sun Online Account user name which is an email address. > The user name contains an @ [at] symbol and a period. > > I am unable to download patches using pca, I get an "Authorization failed." > error when running pca in verbose mode (-V). > > Is there a simple way to escape the @ symbol and the period in the username? > > I've tried backslah escaping, I've tried single & double quotes, I've tried > URL encoding "%40", but still get the "Authorization failed." error. > > > ex: > ------------------------------------------------------------------------------ > 116837 02 < 04 RS- 243 Sun LDAP C SDK 5.19 patch : SunOS sparc > > Looking for 116837-04 (2/586) > Trying https://sunsolve.sun.com/ (1/1) > /usr/sfw/bin/wget > "https://sunsolve.sun.com/pdownload.do?target=116837-04&method=h" > --ca-certificate=/usr/local/bin/pca --header="Authorization: Basic > YmlsbEBiaWxsZWFybGUuY29tOnVic3BlYWs=" -O > /var/tmp/securing/TD-patchcluster-Sol-10/./116837-04.tmp > --11:30:02-- https://sunsolve.sun.com/pdownload.do?target=116837-04&method=h > => `/var/tmp/securing/TD-patchcluster-Sol-10/./116837-04.tmp' > Resolving sunsolve.sun.com... 192.18.108.40 > Connecting to sunsolve.sun.com|192.18.108.40|:443... connected. > HTTP request sent, awaiting response... 401 Unauthorized > Authorization failed. > Failed > Failed (patch not found) > ------------------------------------------------------------------------------ > > > Thanks, > Bill > > ________________________________ > This e-mail and any files transmitted with it may be proprietary and are > intended solely for the use of the individual or entity to whom they are > addressed. If you have received this e-mail in error please notify the sender. > Please note that any views or opinions presented in this e-mail are solely > those of the author and do not necessarily represent those of ITT > Corporation. The recipient should check this e-mail and any attachments for > the presence of viruses. ITT accepts no liability for any damage caused by > any virus transmitted by this e-mail. -- Een goed begin is het halve werk! Derek Terveer Sun Microsystems (JAVA), Unix Administrator <derek.terv...@sun.com> 651-554-1504 x54404