[23370] in Kerberos

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

Re: what kinit does with pam lib modules

daemon@ATHENA.MIT.EDU (Fredrik Tolf)
Thu Feb 10 15:30:42 2005

From: Fredrik Tolf <fredrik@dolda2000.com>
Date: Thu, 10 Feb 2005 19:15:46 +0100
Message-ID: <1108059347.21089.16.camel@pc7.dolda2000.com>
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

On Wed, 2005-02-09 at 12:57 -0800, k wrote:
> Hi:
> 
> Does anybody know if I can obtain and cache kerberos ticket-granting
> tickets, using the PAM lib modules calls (like pam_start.. etc)?
> Or if I can do what kinit does programmatically somehow?

I'm not sure if I understood your question correctly, but if you're
referring to let a PAM-enabled login program log in through Kerberos and
store the credentials so that the user may use them, then it's the
pam_krb5 module that you want to look at.

If you're referring to writing a program that uses PAM to authenticate
users, and you already have pam_krb5 installed and then want to store
the credentials locally, then it is the pam_setcred function you want to
look at.

If none of those match your scenario, I'll have to ask you to clarify
your question a bit.

Hope it helps,
Fredrik Tolf


________________________________________________
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