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.
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) ?