Re: AcquireContext call fails on some users only
From: Ryan Menezes [MSFT] (ryanmen_at_online.microsoft.com)
Date: 03/26/04
- Next message: Michel Gallant: "Re: High level Java Certificate question..."
- Previous message: Rafael: "New Threads"
- In reply to: Jim: "Re: AcquireContext call fails on some users only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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/
- Next message: Michel Gallant: "Re: High level Java Certificate question..."
- Previous message: Rafael: "New Threads"
- In reply to: Jim: "Re: AcquireContext call fails on some users only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|