summaryrefslogtreecommitdiff
path: root/src/providers/ad/ad_id.c
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2012-08-23 11:12:45 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-08-23 14:25:23 +0200
commite523233315f44b8f77ab9c5143a3d80364ebf955 (patch)
tree538ae6bc8b521b72e2e489115f6a959c9a889602 /src/providers/ad/ad_id.c
parent67ef63cc88230e13a15cb9e5485340469c4bcc3e (diff)
downloadsssd-e523233315f44b8f77ab9c5143a3d80364ebf955.tar.gz
sssd-e523233315f44b8f77ab9c5143a3d80364ebf955.tar.bz2
sssd-e523233315f44b8f77ab9c5143a3d80364ebf955.zip
AD context was set to null due to type mismatch
Diffstat (limited to 'src/providers/ad/ad_id.c')
-rw-r--r--src/providers/ad/ad_id.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c
index 41510b24..311c8096 100644
--- a/src/providers/ad/ad_id.c
+++ b/src/providers/ad/ad_id.c
@@ -35,3 +35,14 @@ ad_account_info_handler(struct be_req *breq)
return sdap_handle_account_info(breq, sdap_id_ctx);
}
+
+void
+ad_check_online(struct be_req *be_req)
+{
+ struct ad_id_ctx *ad_ctx;
+
+ ad_ctx = talloc_get_type(be_req->be_ctx->bet_info[BET_ID].pvt_bet_data,
+ struct ad_id_ctx);
+
+ return sdap_do_online_check(be_req, ad_ctx->sdap_id_ctx);
+}