Re: Urgent question about possible changes to SecHandle in regards to InitializeSecurityContext
- From: Roy Chastain <roy@xxxxxxxxx>
- Date: Tue, 30 May 2006 06:40:59 -0400
No, there is no small repro at this point. The question remains, "Have any of the recent hot fixes affected the values that might
be returned as context handles?".
Please note that the macro in SSPI.h checks to see if either half (32 bits) of the handle is -1. If so, it indicates an invalid
handle. I am receiving handles that have the upper 32 bits set to -1. It seems to me that the macro is wrong and should be
checking for BOTH halves equal to -1.
On Mon, 29 May 2006 10:31:17 GMT, jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]") wrote:
Hi Roy,-------------------------------------------
Thanks for your post!
Yes, based on the Schannel InitializeSecurityContext document, we should
get the pointer to a CtxtHandle structure in phNewContext parameter in
first InitializeSecurityContext calling. Then in the following calling, we
should use this first obtained phNewContext parameter as phContext
parameter. We should always pass NULL for phNewContext parameter in 2nd and
following callings.
I am not sure why you got SEC_E_INVALID_HANDLE error after the code running
for more than 2 years. Is it possible for you to provide a little sample
project demonstrate the problem? Then I will continue work with you in the
newsgroup.
Also, I noticed that this issue is urgent for you. based on the newsgroup
support nature, it may not be the most efficient support. If you need a
more efficient support, you may contact Microsoft PSS for an urgency case
support.
You can contact Microsoft Product Support by contacting us at
1-(800)936-5800 or by choosing one of the options listed at
http://www.microsoft.com/services/microsoftservices/srv_support.mspx.
Thanks!
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Roy Chastain
KMSYS Worldwide, Inc.
http://www.kmsys.com
.
- Follow-Ups:
- Re: Urgent question about possible changes to SecHandle in regards to InitializeSecurityContext
- From: "Jeffrey Tan[MSFT]"
- Re: Urgent question about possible changes to SecHandle in regards to InitializeSecurityContext
- References:
- Prev by Date: Re: AzMan Access Check
- Next by Date: Re: Local security getting overwritten
- Previous by thread: RE: Urgent question about possible changes to SecHandle in regards to InitializeSecurityContext
- Next by thread: Re: Urgent question about possible changes to SecHandle in regards to InitializeSecurityContext
- Index(es):
Relevant Pages
|