Only claime configuration exists if the plugin returned some useful data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23816 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -531,8 +531,6 @@ plugin_get_hosts(krb5_context context,
|
|||||||
if(ret != 0 || list == NULL)
|
if(ret != 0 || list == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
kd->flags |= KD_CONFIG_EXISTS;
|
|
||||||
|
|
||||||
for (e = list; e != NULL; e = _krb5_plugin_get_next(e)) {
|
for (e = list; e != NULL; e = _krb5_plugin_get_next(e)) {
|
||||||
krb5plugin_service_locate_ftable *service;
|
krb5plugin_service_locate_ftable *service;
|
||||||
void *ctx;
|
void *ctx;
|
||||||
@@ -549,7 +547,9 @@ plugin_get_hosts(krb5_context context,
|
|||||||
N_("Locate plugin failed to lookup realm %s: %d", ""),
|
N_("Locate plugin failed to lookup realm %s: %d", ""),
|
||||||
kd->realm, ret);
|
kd->realm, ret);
|
||||||
break;
|
break;
|
||||||
}
|
} else if (ret == 0)
|
||||||
|
kd->flags |= KD_CONFIG_EXISTS;
|
||||||
|
|
||||||
}
|
}
|
||||||
_krb5_plugin_free(list);
|
_krb5_plugin_free(list);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user