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,
|
id,
|
||||||
&o->keyblock);
|
&o->keyblock);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
/*
|
/* If caller specified a server, fail. */
|
||||||
* Fall back to iterating over the keytab. This have
|
if (service == NULL)
|
||||||
* serious performace issues for larger keytab.
|
goto out;
|
||||||
|
/* Otherwise, fall back to iterating over the keytab. This
|
||||||
|
* have serious performace issues for larger keytab.
|
||||||
*/
|
*/
|
||||||
o->keyblock = NULL;
|
o->keyblock = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user