try port kerberos/88 if no response on krb524/4444
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8661 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -182,6 +182,14 @@ krb524_convert_creds_kdc(krb5_context context,
|
|||||||
hostlist,
|
hostlist,
|
||||||
port,
|
port,
|
||||||
&reply);
|
&reply);
|
||||||
|
if(ret == KRB5_KDC_UNREACH) {
|
||||||
|
port = krb5_getportbyname (context, "kerberos", "udp", 88);
|
||||||
|
ret = krb5_sendto (context,
|
||||||
|
&v5_creds->ticket,
|
||||||
|
hostlist,
|
||||||
|
port,
|
||||||
|
&reply);
|
||||||
|
}
|
||||||
krb5_free_krbhst (context, hostlist);
|
krb5_free_krbhst (context, hostlist);
|
||||||
}
|
}
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Reference in New Issue
Block a user