summaryrefslogtreecommitdiffstats
path: root/src/providers/ad/ad_id.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-12-16 03:36:19 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-12-18 12:54:26 +0100
commit1101a3da9037f69a556935f2706b844accc468de (patch)
treef79234b0ae7313734ea67a16cdd0cfae0e0e17f8 /src/providers/ad/ad_id.c
parented3e08e6ff267722c605141a0b57774efe4cb531 (diff)
downloadsssd-1101a3da9037f69a556935f2706b844accc468de.tar.gz
sssd-1101a3da9037f69a556935f2706b844accc468de.tar.xz
sssd-1101a3da9037f69a556935f2706b844accc468de.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/ad/ad_id.c')
-rw-r--r--src/providers/ad/ad_id.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c
index 2de3ba7cd..44fc53183 100644
--- a/src/providers/ad/ad_id.c
+++ b/src/providers/ad/ad_id.c
@@ -596,18 +596,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, 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);
}