XP SP2, SSPI, Bad Impersonation level Error
From: Jim Kane (jkane_at_prodoc.com)
Date: 09/08/04
- Next message: Jim Foster: "CAPICOM VB Newbie seeks help"
- Previous message: Nick Voicu [MSFT]: "Re: verifying cert chain"
- Next in thread: Attilio Mainetti [MSFT]: "RE: XP SP2, SSPI, Bad Impersonation level Error"
- Reply: Attilio Mainetti [MSFT]: "RE: XP SP2, SSPI, Bad Impersonation level Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 8 Sep 2004 11:52:32 -0700
Some time ago I wrote some code to allow end-users to type in an Admin
password which allowed me to use SSPI to impersonate the admin user
and update HKLM for them. It all worked.
Since installing XP SP2, the SSPI impersonation code works the same
but when I try to open a registry key I get and error 1346 - bad
impersonation level. I find that odd because in my
initializesecuritycontext call, I ask for ISC_REQ_Delegate and the
code succeeds. I do not understand why the error with xp sp2? Can
anyone explain or tell me how to avoid the error?
Jim Kane
ProDoc,Inc
- Next message: Jim Foster: "CAPICOM VB Newbie seeks help"
- Previous message: Nick Voicu [MSFT]: "Re: verifying cert chain"
- Next in thread: Attilio Mainetti [MSFT]: "RE: XP SP2, SSPI, Bad Impersonation level Error"
- Reply: Attilio Mainetti [MSFT]: "RE: XP SP2, SSPI, Bad Impersonation level Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|