/*
SSSD
Authors:
Stephen Gallagher <sgallagh@redhat.com>
Copyright (C) 2010 Red Hat
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 <http://www.gnu.org/licenses/>.
*/
#ifndef SDAP_ACCESS_H_
#define SDAP_ACCESS_H_
#include "providers/ldap/ldap_common.h"
/* Attributes in sysdb, used for caching last values of lockout or filter
* access control checks.
*/
/* names of ppolicy attributes */
enum ldap_access_rule {
LDAP_ACCESS_FILTER = 0,
};
struct sdap_access_ctx {
const char *filter;
};
struct tevent_req *
struct sdap_access_ctx *access_ctx,
struct dp_req_params *params);
struct tevent_req *req,
struct tevent_req *
struct tevent_context *ev,
struct sss_domain_info *domain,
struct sdap_access_ctx *access_ctx,
struct sdap_id_conn_ctx *conn,
#endif /* SDAP_ACCESS_H_ */