summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-12-16 03:36:19 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-01-29 17:27:54 +0100
commit0dcfd630e6de3ed15e1289d487a8fda4f4ce2b07 (patch)
tree0e7d41fb4df334a6fe0fe625e08964be44b252db /src/providers
parent1cab8aa177b12870c2b05d5d9d029906c85125a9 (diff)
downloadsssd-0dcfd630e6de3ed15e1289d487a8fda4f4ce2b07.tar.gz
sssd-0dcfd630e6de3ed15e1289d487a8fda4f4ce2b07.tar.xz
sssd-0dcfd630e6de3ed15e1289d487a8fda4f4ce2b07.zip
AD: Don't mark domain as enumerated twice
The domain was already marked as enumerated using sysdb_set_enumerated in the enumeration request itself.
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ad/ad_id.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c
index e74653b73..85edcf6d6 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);
}