summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_access.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-03-08 15:10:31 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-03-09 08:24:52 -0500
commit8372129f446e1558f1923a112f328a266144c3ce (patch)
tree454f5c0e61041cbbf90f3229fe22614ca51e1a2f /src/providers/ldap/sdap_access.h
parent1c386aa2c11d1bdbb3f42f722ec4599ce9f278c8 (diff)
downloadsssd-8372129f446e1558f1923a112f328a266144c3ce.tar.gz
sssd-8372129f446e1558f1923a112f328a266144c3ce.tar.xz
sssd-8372129f446e1558f1923a112f328a266144c3ce.zip
LDAP: Make sdap_access_send/recv public
We want to consume this in the IPA provider.
Diffstat (limited to 'src/providers/ldap/sdap_access.h')
-rw-r--r--src/providers/ldap/sdap_access.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_access.h b/src/providers/ldap/sdap_access.h
index 013645b9b..0cbee41f9 100644
--- a/src/providers/ldap/sdap_access.h
+++ b/src/providers/ldap/sdap_access.h
@@ -56,4 +56,13 @@ struct sdap_access_ctx {
int access_rule[LDAP_ACCESS_LAST + 1];
};
+struct tevent_req *
+sdap_access_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct be_ctx *be_ctx,
+ struct sdap_access_ctx *access_ctx,
+ struct pam_data *pd);
+errno_t
+sdap_access_recv(struct tevent_req *req, int *pam_status);
+
#endif /* SDAP_ACCESS_H_ */