From 0b23970978de5c1088a5dbdd6012800b4db94572 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 6 Oct 2013 20:23:07 +0200 Subject: LDAP: Amend sdap_access_check to allow any connection Related: https://fedorahosted.org/sssd/ticket/2082 Also move the check for subdomain to the handler. I think it is the job of the handler to decide which domain the request belongs to, not the request itself. --- src/providers/ldap/sdap_access.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/providers/ldap/sdap_access.h') diff --git a/src/providers/ldap/sdap_access.h b/src/providers/ldap/sdap_access.h index cda078688..30097e21f 100644 --- a/src/providers/ldap/sdap_access.h +++ b/src/providers/ldap/sdap_access.h @@ -26,6 +26,7 @@ #define SDAP_ACCESS_H_ #include "providers/dp_backend.h" +#include "providers/ldap/ldap_common.h" #define SYSDB_LDAP_ACCESS_FILTER "ldap_access_filter_allow" @@ -62,6 +63,7 @@ sdap_access_send(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, struct sss_domain_info *domain, struct sdap_access_ctx *access_ctx, + struct sdap_id_conn_ctx *conn, struct pam_data *pd); errno_t sdap_access_recv(struct tevent_req *req); -- cgit