Hi ppl.
I'm trying to create a host sim for a client using ssl, but when I call "AcquireCredentialsHandle" I get the following return. "No credentials are available in the security package" I call it as follows:
AcquireCredentialsHandle(
NULL,
UNISP_NAME,
SECPKG_CRED_INBOUND,
NULL,
(PVOID)authData,
NULL,
NULL,
&_credentials,
&_timeStamp);
I read I should use "UNISP_NAME" for ssl.
If I call "AcquireCredentialsHandle" with "NEGOSSP_NAME" as the second parameter it returns fine, but then when I put the token received from the client into "AcceptSecurityContext" it returns "The token supplied to the function is invalid." Can anyone please assist in what I am doing wrong or how I can solve this problem.
Thanks
Renier.
I'm trying to create a host sim for a client using ssl, but when I call "AcquireCredentialsHandle" I get the following return. "No credentials are available in the security package" I call it as follows:
AcquireCredentialsHandle(
NULL,
UNISP_NAME,
SECPKG_CRED_INBOUND,
NULL,
(PVOID)authData,
NULL,
NULL,
&_credentials,
&_timeStamp);
I read I should use "UNISP_NAME" for ssl.
If I call "AcquireCredentialsHandle" with "NEGOSSP_NAME" as the second parameter it returns fine, but then when I put the token received from the client into "AcceptSecurityContext" it returns "The token supplied to the function is invalid." Can anyone please assist in what I am doing wrong or how I can solve this problem.
Thanks
Renier.