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 21:02:43 +0200
commit443eb8217741df57d9f58f2098487b91e3404e71 (patch)
tree013d5921211dbcd981394218c692d769f2d9adef /src/providers/ldap/sdap_access.h
parentf64296c40e07614668c4ac4c978bc8980fb6a7db (diff)
downloadsssd-443eb8217741df57d9f58f2098487b91e3404e71.tar.gz
sssd-443eb8217741df57d9f58f2098487b91e3404e71.tar.xz
sssd-443eb8217741df57d9f58f2098487b91e3404e71.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);