what kinit does with pam lib modules

Jeffrey Altman jaltman2 at nyc.rr.com
Wed Feb 9 21:02:13 EST 2005


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?
> 
> 
> Thanks
> 

I'm not trying to be a smart alec but kinit is a program and you
can certainly look at its source code and replicate what it does.
However, I would first think real hard about what it is that you
are doing that requires you to obtain credentials for a user that
should have been obtained at logon time.

Jeffrey Altman


More information about the Kerberos mailing list