[pca] Sun Online Account user name is an email address

Earle, William B - SSD William.Earle at itt.com
Wed Oct 7 19:20:12 CEST 2009


Derek,

Thanks for the confirmation that an email address works as the user name.

I'll keep poking around.

- One other item is that the system I am running pca from has limited internet access and I have an entry in hosts for sunsolve.

	192.18.108.40   sunsolve.sun.com

- I will see if I can locate a system outside of my lab and try my account.


Thanks,
Bill


-----Original Message-----
From: pca-bounces at lists.univie.ac.at [mailto:pca-bounces at lists.univie.ac.at] On Behalf Of Derek Terveer
Sent: Wednesday, October 07, 2009 12:24 PM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] Sun Online Account user name is an email address

My online account is also an email address in the form,
	first.last at 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.terveer at sun.com>  651-554-1504  x54404




More information about the pca mailing list