If caller specified a server, fail on failure to find keytab entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24460 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -926,9 +926,11 @@ krb5_rd_req_ctx(krb5_context context,
|
||||
id,
|
||||
&o->keyblock);
|
||||
if (ret) {
|
||||
/*
|
||||
* Fall back to iterating over the keytab. This have
|
||||
* serious performace issues for larger keytab.
|
||||
/* If caller specified a server, fail. */
|
||||
if (service == NULL)
|
||||
goto out;
|
||||
/* Otherwise, fall back to iterating over the keytab. This
|
||||
* have serious performace issues for larger keytab.
|
||||
*/
|
||||
o->keyblock = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user