Trouble Getting Ticket into Cache
Ken Raeburn
raeburn at MIT.EDU
Sun Feb 17 19:37:20 EST 2008
On Feb 17, 2008, at 17:47, trimkins at sbcglobal.net wrote:
> krb5_get_in_tkt_with_keytab(context,
> KRB5_DEFAULT_OPTIONS,
> (krb5_address **) 0,
> (krb5_enctype *) 0,
> (krb5_preauthtype *) 0,
> (krb5_keytab *) "/usr/lib/postgresql/8.2/etc/krb5.keytab",
> (krb5_ccache) 0,
> creds, &kdc_rep);
The keytab argument is not a pointer to krb5_keytab, it's a
krb5_keytab, which is itself a pointer to a structure. You shouldn't
be passing a string there. See, for example, krb5_kt_resolve, in
krb5.h.
--
Ken Raeburn, Senior Programmer
MIT Kerberos Consortium
More information about the Kerberos
mailing list