On Feb 17, 2008, at 17:47, [EMAIL PROTECTED] 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

________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to