Patch attached
From eb0b0eb390d33ed888b15552192a39f4d5f92fd2 Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Mon, 30 Nov 2015 16:42:30 +0100
Subject: [PATCH] FIX: ipa_kdb_principals: add missing break statement

Needs a 'break' otherwise prevents correct reporting of data and it always overrides
it with the placeholder data.
---
 daemons/ipa-kdb/ipa_kdb_principals.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/daemons/ipa-kdb/ipa_kdb_principals.c b/daemons/ipa-kdb/ipa_kdb_principals.c
index ff8370b1bfa793cc6a7691a89ffbd057f5f20212..629f8193223c924267f6d5f39d258cfbc51c7f63 100644
--- a/daemons/ipa-kdb/ipa_kdb_principals.c
+++ b/daemons/ipa-kdb/ipa_kdb_principals.c
@@ -596,6 +596,7 @@ static krb5_error_code ipadb_parse_ldap_entry(krb5_context kcontext,
     case 0:
         entry->tl_data = res_tl_data;
         entry->n_tl_data = result;
+        break;
     case ENOENT:
         /* The kadmin utility expects always at least KRB5_TL_MOD_PRINC tl_data
          * to be available. So if krbExtraData is missing (may happen when a
-- 
2.5.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to