summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_id.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-12-19 14:59:59 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-12-19 11:38:35 -0500
commit8edf0e447266d68f10264eb3f3ea514cd1687041 (patch)
tree8f2c21f5346a0cfba1162165962638a64c3983f6 /src/providers/ipa/ipa_id.c
parent69420a154fc9fb8b04f437125a6a0604b26b1292 (diff)
downloadsssd-8edf0e447266d68f10264eb3f3ea514cd1687041.tar.gz
sssd-8edf0e447266d68f10264eb3f3ea514cd1687041.tar.xz
sssd-8edf0e447266d68f10264eb3f3ea514cd1687041.zip
Pass sdap_id_ctx to online check from IPA provider
Diffstat (limited to 'src/providers/ipa/ipa_id.c')
-rw-r--r--src/providers/ipa/ipa_id.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_id.c b/src/providers/ipa/ipa_id.c
index a014c9f20..7302a8da0 100644
--- a/src/providers/ipa/ipa_id.c
+++ b/src/providers/ipa/ipa_id.c
@@ -321,3 +321,13 @@ static void ipa_account_info_netgroups_done(struct tevent_req *req)
ipa_account_info_complete(breq, dp_error, ret, "Netgroup lookup failed");
}
+
+void ipa_check_online(struct be_req *be_req)
+{
+ struct ipa_id_ctx *ipa_ctx;
+
+ ipa_ctx = talloc_get_type(be_req->be_ctx->bet_info[BET_ID].pvt_bet_data,
+ struct ipa_id_ctx);
+
+ return sdap_do_online_check(be_req, ipa_ctx->sdap_id_ctx);
+}