summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_auth.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-04-28 15:12:57 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-05-16 13:28:12 -0400
commit5f2593e24f565b202821329f1f9cb103241d80bb (patch)
tree38787fbdd9bcfbe6290d55bf5ebf81f8cc7300a2 /src/providers/krb5/krb5_auth.h
parentec93a5f5d677b006923cc3691e79735f9e40be33 (diff)
downloadsssd-5f2593e24f565b202821329f1f9cb103241d80bb.tar.gz
sssd-5f2593e24f565b202821329f1f9cb103241d80bb.tar.xz
sssd-5f2593e24f565b202821329f1f9cb103241d80bb.zip
Make Kerberos authentication a tevent_req
To allow other providers to include Kerberos authentication the main part is put into a tevent request.
Diffstat (limited to 'src/providers/krb5/krb5_auth.h')
-rw-r--r--src/providers/krb5/krb5_auth.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_auth.h b/src/providers/krb5/krb5_auth.h
index 9f8c4144..e614d5c3 100644
--- a/src/providers/krb5/krb5_auth.h
+++ b/src/providers/krb5/krb5_auth.h
@@ -44,7 +44,6 @@ struct krb5child_req {
int read_from_child_fd;
int write_to_child_fd;
- struct be_req *req;
struct pam_data *pd;
struct krb5_ctx *krb5_ctx;
@@ -99,4 +98,10 @@ struct krb5_ctx {
void krb5_pam_handler(struct be_req *be_req);
+struct tevent_req *krb5_auth_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct be_ctx *be_ctx,
+ struct pam_data *pd,
+ struct krb5_ctx *krb5_ctx);
+int krb5_auth_recv(struct tevent_req *req, int *pam_status, int *dp_err);
#endif /* __KRB5_AUTH_H__ */