also lookup _kpasswd._tcp SRV-rr

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13662 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-03-31 14:04:57 +00:00
parent de787b6b66
commit f1d3b2660d

View File

@@ -550,6 +550,12 @@ kpasswd_get_next(krb5_context context,
if(get_next(kd, host)) if(get_next(kd, host))
return 0; return 0;
} }
if((kd->flags & KD_SRV_TCP) == 0) {
srv_get_hosts(context, kd, "tcp", "kpasswd");
kd->flags |= KD_SRV_TCP;
if(get_next(kd, host))
return 0;
}
} }
/* no matches -> try admin */ /* no matches -> try admin */