spnego - How to get the principal name after authentication -


using mit gss-api libraries, i've written c program gets input full negotiate token , performs kerberos authentication (using keytab on server side). program calls gss_acquire_cred , gss_accept_sec_context , i'm able create context , client token.

now, how can client principal name / user name? thought maybe calling krb5_build_principal right way don't see how input parameters function

as you have context handle on acceptor side, can callgss_inquire_context inquire src_name initiated (your client) context or request gss_accept_sec_context directly return value. sample code available on request.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -