How do I request a ticket via code

Sam Hartman hartmans at MIT.EDU
Mon Feb 28 21:26:46 EST 2011

>>>>> "Russ" == Russ Allbery <rra at> writes:

    Russ> Guilherme Nery <guilhermepn at> 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?

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

For talking to AD, you may also want to look at

More information about the krbdev mailing list