diff options
author | Sumit Bose <sbose@redhat.com> | 2010-05-18 12:18:13 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-05-27 14:44:14 -0400 |
commit | 8bb6aa3fd81a3c195b92270ddf189296abae65eb (patch) | |
tree | 04530219a755ca9c47ec13b8a8981d9e6faaf480 /src/providers/ipa | |
parent | b21813c0bfa513b984fcbab81843c06d093332a5 (diff) | |
download | sssd-8bb6aa3fd81a3c195b92270ddf189296abae65eb.tar.gz sssd-8bb6aa3fd81a3c195b92270ddf189296abae65eb.tar.bz2 sssd-8bb6aa3fd81a3c195b92270ddf189296abae65eb.zip |
Add offline callback to disconnect global SDAP handle
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_init.c b/src/providers/ipa/ipa_init.c index 59e479e8..f3fa610e 100644 --- a/src/providers/ipa/ipa_init.c +++ b/src/providers/ipa/ipa_init.c @@ -175,6 +175,13 @@ int sssm_ipa_id_init(struct be_ctx *bectx, goto done; } + ret = be_add_offline_cb(ctx, bectx, sdap_gsh_disconnect_callback, ctx, + NULL); + if (ret != EOK) { + DEBUG(1, ("be_add_offline_cb failed.\n")); + goto done; + } + ret = sdap_id_setup_tasks(ctx); if (ret != EOK) { goto done; |