kerberos login

Russ Allbery rra at stanford.edu
Thu Jun 5 13:44:08 EDT 2008


stephenpince at gmail.com writes:

> I am trying to add kerberos support for a web load testing tool that
> uses negotiate (kerberos). I have the following question.
>
> I would like to get a ticket from kdc with valid login credentials. It
> is not the current login credential of the current login session.
> e.g.
> usera/passworda
> userb/passwordb
>
> I see that the function call "gss_init_sec_context" has a credential
> paramater. How do you create a credential? Is this possible?

You can't use GSS-API to get initial credentials.  You have to use the
Kerberos API itself, probably krb5_get_init_creds_password.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the Kerberos mailing list