dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0060-IPA-enable-AD-user-lookup-by-certificate.patch

bb7cd1
From 1f29c3d5302dc4ca9f5f9c6fe64dc8de5381041f Mon Sep 17 00:00:00 2001
bb7cd1
From: Sumit Bose <sbose@redhat.com>
bb7cd1
Date: Fri, 24 Mar 2017 15:41:37 +0100
bb7cd1
Subject: [PATCH 60/60] IPA: enable AD user lookup by certificate
bb7cd1
bb7cd1
Without this the lookup by certificate for AD users on an IPA client
bb7cd1
will just error out.
bb7cd1
bb7cd1
Related to https://pagure.io/SSSD/sssd/issue/3050
bb7cd1
bb7cd1
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
bb7cd1
---
bb7cd1
 src/providers/ipa/ipa_subdomains_id.c | 1 +
bb7cd1
 1 file changed, 1 insertion(+)
bb7cd1
bb7cd1
diff --git a/src/providers/ipa/ipa_subdomains_id.c b/src/providers/ipa/ipa_subdomains_id.c
bb7cd1
index 4777d7cfd97fed39b807a659fd1f9000c7ff8625..3530af94ef59397db72465fcb0c4a03117a4d8bd 100644
bb7cd1
--- a/src/providers/ipa/ipa_subdomains_id.c
bb7cd1
+++ b/src/providers/ipa/ipa_subdomains_id.c
bb7cd1
@@ -399,6 +399,7 @@ struct tevent_req *ipa_get_subdom_acct_send(TALLOC_CTX *memctx,
bb7cd1
         case BE_REQ_USER:
bb7cd1
         case BE_REQ_GROUP:
bb7cd1
         case BE_REQ_BY_SECID:
bb7cd1
+        case BE_REQ_BY_CERT:
bb7cd1
         case BE_REQ_USER_AND_GROUP:
bb7cd1
             ret = EOK;
bb7cd1
             break;
bb7cd1
-- 
bb7cd1
2.9.3
bb7cd1