Re: AcquireContext call fails on some users only

From: Ryan Menezes [MSFT] (ryanmen_at_online.microsoft.com)
Date: 03/26/04


Date: Fri, 26 Mar 2004 10:42:03 -0800

You will need to set container permissions using
CryptSetProvParam(PP_KEYSET_SEC_DESCR) on the machine container to make it
accessible to other users.

-- 
Thanks,
Ryan Menezes [MS]
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jim" <jimsjbox@yahoo.com> wrote in message
news:opr5hcjelwva55wj@msnews.microsoft.com...
> Ryan, thanks for your response.
>
> Is there a way to allow a container to be used across all user accounts?
>
> Jim
>
>
> On Thu, 25 Mar 2004 15:36:39 -0800, Ryan Menezes [MSFT]
> <ryanmen@online.microsoft.com> wrote:
>
> > What is the result of GetLastError() ?
> >
> > User containers should work just fine. However if you created the
machine
> > container with the local user and tried to access it as another user
> > (domain
> > user in your case), it will fail the ACL check. It is probably going to
> > say
> > NTE_BAD_KEYSET (CRYPT_MACHINE_KEYSET) and NTE_EXISTS (CRYPT_NEWKEYSET |
> > CRYPT_MACHINE_KEYSET) for the second user
> >
>
>
>
> -- 
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


Relevant Pages

  • Re: CryptAcquireContext fails with error (8009000F)
    ... The container created by CryptAcquireContainer is empty. ... >> Ryan Menezes ...
    (microsoft.public.platformsdk.security)
  • Re: prevent div wrapping
    ... Jim, perhaps you didn't read the sentence I wrote "My ... The container sizes do not have to change; ... wouldn't "columns that run outside the width of a container div" ... The problem with adding the "overflow: hidden" code is that the user ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Freeview probs.
    ... impulse interference", with many articles, precisely because of this paticular problem! ... pointing out that DAB uses COFDM and doesn't suffer II problems, despite its use of lower frequencies, where you'd expect the impulse spectral density to be 9-10 dB greater than at UHF. ... As Jim said, don't confuse the container and the contained. ...
    (uk.tech.digital-tv)
  • Re: Radio Button Question
    ... > cancel, it will trigger the click event again, and prompt the message box. ... As Jim said, if it is important that you confirm the ... Putting them on the same container effectively groups them. ... LFS ...
    (microsoft.public.vb.controls)
  • Re: Radio Button Question
    ... > cancel, it will trigger the click event again, and prompt the message box. ... As Jim said, if it is important that you confirm the ... Putting them on the same container effectively groups them. ... LFS ...
    (microsoft.public.vb.syntax)

Quantcast