- 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
ad.pname, ad.pinst, ad.prealm);
send_int(conn, code);
#else
+ send_int(conn, MR_NO_KRB4);
static int get_mr_tgt(void);
#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;
{
krb5_auth_context auth_con = NULL;
krb5_ccache ccache = NULL;
goto out;
code = krb5_mk_req(context, &auth_con, 0, "host", host, NULL, ccache,
goto out;
code = krb5_mk_req(context, &auth_con, 0, "host", host, NULL, ccache,
char *str;
void (*proc)(int, char *);
} dispatch_table[] = {
char *str;
void (*proc)(int, char *);
} dispatch_table[] = {
{ "AUTH_002", auth_002 },
{ "AUTH_002", auth_002 },
{ "AUTH_003", auth_003 },
{ "XFER_002", xfer_002 },
{ "XFER_003", xfer_003 },
{ "AUTH_003", auth_003 },
{ "XFER_002", xfer_002 },
{ "XFER_003", xfer_003 },