summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_access.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-10-06 20:23:07 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-10-25 22:04:11 +0200
commit0b23970978de5c1088a5dbdd6012800b4db94572 (patch)
treecd8b9ba6865318f825d3a9246773d713545ab016 /src/providers/ldap/sdap_access.h
parentd32961c07381a5518a15e8e83d3475445d871410 (diff)
downloadsssd-0b23970978de5c1088a5dbdd6012800b4db94572.tar.gz
sssd-0b23970978de5c1088a5dbdd6012800b4db94572.tar.xz
sssd-0b23970978de5c1088a5dbdd6012800b4db94572.zip
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.
Diffstat (limited to 'src/providers/ldap/sdap_access.h')
-rw-r--r--src/providers/ldap/sdap_access.h2
1 files changed, 2 insertions, 0 deletions
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);