0

In case of Kerberos constraint delegation do we need to pass AuthIdentity correct credentials to AcquireCredentialsHandle function?

As per my understanding we need to pass AuthIdentity as NULL to AcquireCredentialsHandle(apsPackageName, SECPKG_CRED_OUTBOUND, NULL, &arcSeqConext.mhCred, &iLifetime);

and it will take the current user login details when function InitializeSecurityContext() gets called.

But it always fails with SEC_E_NO_CREDENTIALS error.

Is anyone know about this can you please help me to authenticate current user correctly.

1
  • we can pass both 0 (current user login) or SEC_WINNT_AUTH_IDENTITY_W. without concrete code or debugging lsass on your system, hard say why you got SEC_E_NO_CREDENTIALS error. may be this is local account logon (KERB_CRED_LOCAL_ACCOUNT) ? Commented May 26, 2025 at 17:48

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.