summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_access.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-06-22 08:06:50 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-06-22 09:15:20 -0400
commitc08c6c7a131fcb0546c70e187c44fc2e6449e8ce (patch)
treea5d0fd89ee50d9d155b91776e45e62859176826e /src/providers/ldap/sdap_access.h
parentd162c73fd03eeb4b2a8ea358efe4e116f00f3c90 (diff)
downloadsssd-c08c6c7a131fcb0546c70e187c44fc2e6449e8ce.tar.gz
sssd-c08c6c7a131fcb0546c70e187c44fc2e6449e8ce.tar.xz
sssd-c08c6c7a131fcb0546c70e187c44fc2e6449e8ce.zip
IPA: Check nsAccountLock during PAM_ACCT_MGMT
LDAP: Make sdap_access_send/recv public We want to consume this in the IPA provider. IPA: Check nsAccountLock during PAM_ACCT_MGMT https://fedorahosted.org/sssd/ticket/1227 Conflicts: src/providers/ipa/ipa_access.h src/providers/ipa/ipa_init.c
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 32c45b817..d6b80ea2d 100644
--- a/src/providers/ldap/sdap_access.h
+++ b/src/providers/ldap/sdap_access.h
@@ -55,4 +55,13 @@ struct sdap_access_ctx {
void ldap_pam_access_handler(struct be_req *breq);
+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_ */