Blame SOURCES/0064-AD-Don-t-mark-domain-as-enumerated-twice.patch

2fc102
From 392058122b5993a195436c2d5d9833e5e1dd0198 Mon Sep 17 00:00:00 2001
2fc102
From: Jakub Hrozek <jhrozek@redhat.com>
2fc102
Date: Mon, 16 Dec 2013 03:36:19 +0100
2fc102
Subject: [PATCH 64/71] AD: Don't mark domain as enumerated twice
2fc102
2fc102
The domain was already marked as enumerated using sysdb_set_enumerated
2fc102
in the enumeration request itself.
2fc102
---
2fc102
 src/providers/ad/ad_id.c | 13 -------------
2fc102
 1 file changed, 13 deletions(-)
2fc102
2fc102
diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c
2fc102
index e74653b734010712ff0562ce1bcbad2b03aba27e..85edcf6d604f705f5645f77689c2b4c7471b5edd 100644
2fc102
--- a/src/providers/ad/ad_id.c
2fc102
+++ b/src/providers/ad/ad_id.c
2fc102
@@ -571,19 +571,6 @@ ad_enumeration_done(struct tevent_req *subreq)
2fc102
         return;
2fc102
     }
2fc102
 
2fc102
-    /* Ok, we've completed an enumeration. Save this to the
2fc102
-     * sysdb so we can postpone starting up the enumeration
2fc102
-     * process on the next SSSD service restart (to avoid
2fc102
-     * slowing down system boot-up
2fc102
-     */
2fc102
-    ret = sysdb_set_enumerated(state->sdom->dom->sysdb,
2fc102
-                               state->sdom->dom, true);
2fc102
-    if (ret != EOK) {
2fc102
-        DEBUG(SSSDBG_MINOR_FAILURE,
2fc102
-              ("Could not mark domain as having enumerated.\n"));
2fc102
-        /* This error is non-fatal, so continue */
2fc102
-    }
2fc102
-
2fc102
     tevent_req_done(req);
2fc102
 }
2fc102
 
2fc102
-- 
2fc102
1.8.4.2
2fc102