[16659] in Kerberos_V5_Development
Re: How do I request a ticket via code
daemon@ATHENA.MIT.EDU (Russ Allbery)
Mon Feb 28 18:07:17 2011
From: Russ Allbery <rra@stanford.edu>
To: Guilherme Nery <guilhermepn@gmail.com>
In-Reply-To: <AANLkTinbic7SfD-5m6i34JPwzPqNZsSTeHa4OAqVDLsY@mail.gmail.com>
(Guilherme Nery's message of "Mon, 28 Feb 2011 18:36:36 -0300")
Date: Mon, 28 Feb 2011 15:07:13 -0800
Message-ID: <87wrkjlpwe.fsf@windlord.stanford.edu>
MIME-Version: 1.0
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
Guilherme Nery <guilhermepn@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@mit.edu is probably better for discussions like this.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev