From a270cea6c52744b194615c76f4affe57a4fb8716 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 1 Oct 2007 23:18:25 +0000 Subject: [PATCH] pull up r20023 from trunk r20023@cathode-dark-space: jaltman | 2007-09-30 10:42:22 -0400 ticket: 5753 When there is no ImagePath value for a module it indicates that the module has not been installed. Do not report an error to the end user for uninstalled modules. This will only annoy the user and there is probably nothing the user can do about it. Perhaps the user uninstalled the module intentionally. The fact that there is still a HKCU key remaining is not an indication that the module is in use. ticket: 5753 version_fixed: 1.6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20063 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/identity/kmm/kmm_registrar.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/windows/identity/kmm/kmm_registrar.c b/src/windows/identity/kmm/kmm_registrar.c index da7ab570b..75f3b782a 100644 --- a/src/windows/identity/kmm/kmm_registrar.c +++ b/src/windows/identity/kmm/kmm_registrar.c @@ -683,7 +683,11 @@ void kmmint_init_module(kmm_module_i * m) { m->path = PMALLOC(sz); khc_read_string(csp_mod, KMM_VALNAME_IMAGEPATH, m->path, &sz); } else { - _report_mr0(KHERR_ERROR, MSG_IM_NOT_REGISTERED); + /* + * If there is no image path, then the module has not been + * installed. Do not report an error and bother the user. + * _report_mr0(KHERR_ERROR, MSG_IM_NOT_REGISTERED); + */ m->state = KMM_MODULE_STATE_FAIL_NOT_REGISTERED; goto _exit; -- 2.26.2