On Fri, Sep 04, 2015 at 02:35:49PM +0200, Jakub Hrozek wrote:
From 591d07855b70aacbb4488ba9a54438ee9ded48b5 Mon Sep 17 00:00:00
2001
From: Jakub Hrozek <jhrozek(a)redhat.com>
Date: Fri, 4 Sep 2015 09:27:17 +0200
Subject: [PATCH 2/8] DP: Provide a way to mark subdomain as disabled and
auto-enable it later with offline_timeout
https://fedorahosted.org/sssd/ticket/2637
Adds a new Data Provider function be_mark_dom_offline() that is a
replacement for be_mark_offline(). When called, the function would
either set the whole back end offline, just like be_mark_offline or just
set the subdomain status to inactive.
When a subdomain is inactive, there is a singleton timed task that would
re-set the subdomin after offline_timeout seconds.
---
src/providers/data_provider_be.c | 99 ++++++++++++++++++++++++++++++++++++----
src/providers/dp_backend.h | 1 +
2 files changed, 91 insertions(+), 9 deletions(-)
One note -- I'm adding a unit test for this patch:
https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/log/?h=oneway
But I still think it makes sense to send the patches for review while
I'm working on the test..