"kul gupta" <[EMAIL PROTECTED]> writes:
> hello
> Thanks
> I m using MIT kerberose.
> I will appreciate if someone can help me how to proceed to ahieve the
> "Kinit" programatically.
>
>
> The user has entered -username and password through stdin.
> How can i get the TGT programatically?(using GSS-API) so as to proceed
> further .??
You cannot get a TGT using GSSAPI. GSSAPI has no facility for initial
authentication.
For an example of many different types of authentication using the native
Kerberos API, take a look at:
http://www.eyrie.org/~eagle/software/kstart/
If you already have the password in hand, you probably want the
krb5_get_init_creds_password function, but there's some setup that you
have to do first and you probably want to store the credentials in a
ticket cache afterwards.
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
________________________________________________
Kerberos mailing list [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos