get_init_creds_password: DNS SRV off causes bogus REALM_UNKNOWN
authorTom Yu <tlyu@mit.edu>
Fri, 8 Aug 2003 20:38:55 +0000 (20:38 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 8 Aug 2003 20:38:55 +0000 (20:38 +0000)
commit0aac4adcbca59356aabd116acbd2913bad1bb0d3
tree7ea2fab4ae91b8cfafbef54b0569c3f7617e45f3
parentff5d2ea81d794f7b64abfffb692434295a118d13
get_init_creds_password: DNS SRV off causes bogus REALM_UNKNOWN

* gic_pwd.c (krb5_get_init_creds_password): If DNS SRV support is
turned off, the second call to get_init_creds() will fail with
KRB5_REALM_UNKNOWN under certain circumstances.  If that happens,
return the error from the first call to get_init_creds(), which
will be more useful to the user.

ticket: new
target_version: 1.3.2
tags: pullup
component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15761 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/gic_pwd.c