How do I request a ticket via code

Russ Allbery rra at stanford.edu
Mon Feb 28 18:07:13 EST 2011


Guilherme Nery <guilhermepn at gmail.com> writes:

> I'm coding a client for Kerberos V to authenticade to AD. I'd like to
> know how can I request a TGT via code. Is it possible or have I to have
> credentials previously cached?

Generally you would use one of the krb5_get_init_creds_* interfaces,
normally krb5_get_init_creds_keytab for non-interactive clients.  This is
the same interface used by, e.g., kinit.

(kerberos at mit.edu is probably better for discussions like this.)

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



More information about the krbdev mailing list