How to retrieve src_name in SSPI

Manoj Mohan manojm at us.ibm.com
Wed Jan 23 00:22:20 EST 2008


Hi,

In GSSAPI we call gss_accept_sec_context on server side which also gives us
the client name as an output.
For example,
   maj_stat = gss_accept_sec_context(&min_stat,
                                      &context_handle,
                                      verifier_cred_handle,
                                      &gss_input_token,
                                      input_chan_bindings,,
                                      &src_name, -------------------->
Client Name
                                      &actual_mech_type,
                                      &gss_output_token,
                                      &ret_flags,
                                      &time_ret,,
                                      &delegated_cred_handle);

I am implementing similar program using SSPI and there the equivalent call
is AcceptSecurityContext and that
does not have this as an output. What API should I call after
AcceptSecurityContext to get that information?

Thanks & Regards,
Manoj


More information about the Kerberos mailing list