how to achieve what kinit does programmatically?

Sam Hartman hartmans at MIT.EDU
Fri May 30 01:58:18 EDT 2003

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 at for

More information about the krbdev mailing list