[19352] in Kerberos

home help back first fref pref prev next nref lref last post

RE: how to achieve what kinit does programmatically?

daemon@ATHENA.MIT.EDU (Kent_Wu@trendmicro.com)
Mon Jun 2 21:48:19 2003

content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Date: Mon, 2 Jun 2003 17:02:59 -0700
Message-ID: <7DE4EF03D8D61B44B927E4A059B2644C3489BE@65-200-113-18.trendmicro.com>
From: <Kent_Wu@trendmicro.com>
To: <hartmans@mit.edu>
Content-Transfer-Encoding: 8bit
cc: kerberos@mit.edu
cc: krbdev@mit.edu
Errors-To: kerberos-bounces@mit.edu

Sam, thx for the info. Two questions:

1.After I downloaded the MIT Kerberos package, there is a doc folder created however I couldn't find the description for API krb5_get_init_creds_password(), did I miss something here?

2. Basically what I want to achieve is that assuming I already have user/passwd pair(thru proxy authorization maybe), I want to get the TGT programmatically since I don't need any interaction which was enforced by "kinit" at all. Is this really doable or krb5_get_init_creds_password() still prompts for user's password?

Thx a lot.

Kent

-----Original Message-----
From: Sam Hartman [mailto:hartmans@mit.edu]
Sent: Thursday, May 29, 2003 10:58 PM
To: Kent Wu (RD-US)
Cc: krbdev@mit.edu
Subject: Re: how to achieve what kinit does programmatically?


You need to download MIT Kerberos.  The Kerberos that comes with
Solaris does not expose the APIs you want.

The function you need is krb5_get_init_creds_password.


The documentation is spotty; feel free to ask on kerberos@mit.edu for
help.


________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post