(krb4_authenticate): the NAT address might not be the one for the
relevant realm, try anyway. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7553 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -76,7 +76,8 @@ krb4_authenticate (kx_context *kc, int s)
|
||||
struct in_addr natAddr;
|
||||
|
||||
if (krb_get_our_ip_for_realm(krb_realmofhost(kc->host),
|
||||
&natAddr) == KSUCCESS)
|
||||
&natAddr) == KSUCCESS
|
||||
|| krb_get_our_ip_for_realm (NULL, &natAddr) == KSUCCESS)
|
||||
kc->thisaddr.sin_addr = natAddr;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user