kerberos - Calling AcquireCredentialsHandle after ImpersonateSecurityContext returns no credentials -


i writing server supporting kerberos needs accept delegated credentials client, impersonate client, , perform kerberos conversation remote server acting client.

currently, server completes negotiation client using acceptsecuritycontext. after calling querysecuritycontext flags, indicate both asc_ret_delegate , asc_ret_mutual_auth. call impersonatesecuritycontext succeeds (sec_e_ok).

at point, i'm little unclear on do. act client, assume should call acquirecredentialshandle without sec_winnt_auth_identity struct default credentials current "thread", should i've impersonated. however, call returns sec_e_no_credentials.

i can't seem find code samples out there doing , running through delegation/impersonation checklists yield "boxes" checked in active directory correctly.

what supposed doing instead or doing wrong? can provide more information requested, unsure of be.


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -