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