- auth_002() needs to send_int MR_NO_KRB4, not return it.
- get_mr_krb5_update_ticket should take a krb5_data *, not a krb5_data.
ad.pname, ad.pinst, ad.prealm);
send_int(conn, code);
#else
- return MR_NO_KRB4;
+ send_int(conn, MR_NO_KRB4);
#endif
}
static int get_mr_tgt(void);
#endif
-int get_mr_krb5_update_ticket(char *host, krb5_data auth)
+int get_mr_krb5_update_ticket(char *host, krb5_data *auth)
{
krb5_auth_context auth_con = NULL;
krb5_ccache ccache = NULL;
goto out;
code = krb5_mk_req(context, &auth_con, 0, "host", host, NULL, ccache,
- &auth);
+ auth);
out:
if (ccache)
char *str;
void (*proc)(int, char *);
} dispatch_table[] = {
-#ifdef HAVE_KRB4
{ "AUTH_002", auth_002 },
-#endif
{ "AUTH_003", auth_003 },
{ "XFER_002", xfer_002 },
{ "XFER_003", xfer_003 },