(krb4_auth): the nat-IP address might not be realm bounded.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7554 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -253,7 +253,8 @@ krb4_auth(void *app_data, char *host)
|
|||||||
struct in_addr natAddr;
|
struct in_addr natAddr;
|
||||||
|
|
||||||
if (krb_get_our_ip_for_realm(krb_realmofhost(host),
|
if (krb_get_our_ip_for_realm(krb_realmofhost(host),
|
||||||
&natAddr) != KSUCCESS)
|
&natAddr) != KSUCCESS
|
||||||
|
&& krb_get_our_ip_for_realm(NULL, &natAddr) != KSUCCESS)
|
||||||
printf("Can't get address for realm %s\n",
|
printf("Can't get address for realm %s\n",
|
||||||
krb_realmofhost(host));
|
krb_realmofhost(host));
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user