return the real error from the slave rather than the resolution error.
ticket: 1232
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14941
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-10-28 Sam Hartman <hartmans@mit.edu>
+
+ * gic_keytab.c (krb5_get_init_creds_keytab): Don't allow failure
+ to resolve master KDC to mask error from a slave we did talk to.
+
2002-10-24 Ken Hornstein <kenh@cmf.nrl.navy.mil>
* gic_pwd.c (krb5_get_init_creds_password): Exit out of the loop
/* if the master is unreachable, return the error from the
slave we were able to contact */
- if ((ret2 == KRB5_KDC_UNREACH) || (ret == KRB5_REALM_CANT_RESOLVE))
+ if ((ret2 == KRB5_KDC_UNREACH) || (ret2 == KRB5_REALM_CANT_RESOLVE))
goto cleanup;
ret = ret2;