From a4cce2c98eedecb5d3b47da62104634cae268434 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 2 Jul 2012 10:34:52 -0400 Subject: AD: Add AD access-control provider This patch adds support for checking whether a user is expired or disabled in AD. --- src/providers/ad/ad_access.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/providers/ad/ad_access.h (limited to 'src/providers/ad/ad_access.h') diff --git a/src/providers/ad/ad_access.h b/src/providers/ad/ad_access.h new file mode 100644 index 00000000..62259265 --- /dev/null +++ b/src/providers/ad/ad_access.h @@ -0,0 +1,35 @@ +/* + SSSD + + Authors: + Stephen Gallagher + + Copyright (C) 2012 Red Hat + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef AD_ACCESS_H_ +#define AD_ACCESS_H_ + +struct ad_access_ctx { + struct sdap_id_ctx *sdap_ctx; + struct dp_option *ad_options; + struct sdap_access_ctx *sdap_access_ctx; +}; + +void +ad_access_handler(struct be_req *breq); + +#endif /* AD_ACCESS_H_ */ -- cgit