[16660] in Kerberos_V5_Development
Re: How do I request a ticket via code
daemon@ATHENA.MIT.EDU (Sam Hartman)
Mon Feb 28 21:26:57 2011
From: Sam Hartman <hartmans@mit.edu>
To: Russ Allbery <rra@stanford.edu>
Date: Mon, 28 Feb 2011 21:26:46 -0500
In-Reply-To: <87wrkjlpwe.fsf@windlord.stanford.edu> (Russ Allbery's message of
"Mon, 28 Feb 2011 15:07:13 -0800")
Message-ID: <tsld3mba849.fsf@mit.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
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:
Russ> 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?
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
gss_acquire_cred_with_password.
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev