[29132] in Kerberos

home help back first fref pref prev next nref lref last post

How to retrieve src_name in SSPI

daemon@ATHENA.MIT.EDU (Manoj Mohan)
Wed Jan 23 00:26:08 2008

To: kerberos@mit.edu
Message-ID: <OF6A62F810.5F50DE85-ON862573D9.001D3770-862573D9.001D82C5@us.ibm.com>
From: Manoj Mohan <manojm@us.ibm.com>
Date: Tue, 22 Jan 2008 23:22:20 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu


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
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post