summaryrefslogtreecommitdiff
path: root/src/providers/krb5/krb5_auth.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-11-28 03:24:54 +0000
committerJakub Hrozek <jhrozek@redhat.com>2012-12-04 12:38:14 +0100
commit7baccb545ac9829b7e1990f45ff6f70e2de55c2a (patch)
treea259aabd5a98768813a10545debd60ee58768b3c /src/providers/krb5/krb5_auth.h
parent9a0bd46cd3094ad18584b83cd7a7bf5a096dac0f (diff)
downloadsssd-7baccb545ac9829b7e1990f45ff6f70e2de55c2a.tar.gz
sssd-7baccb545ac9829b7e1990f45ff6f70e2de55c2a.tar.bz2
sssd-7baccb545ac9829b7e1990f45ff6f70e2de55c2a.zip
Fix tevent_req style for krb5_auth
No functionality changes, just make the code respect the tevent_req style and naming conventions and enhance readability by adding some helper functions.
Diffstat (limited to 'src/providers/krb5/krb5_auth.h')
-rw-r--r--src/providers/krb5/krb5_auth.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/krb5/krb5_auth.h b/src/providers/krb5/krb5_auth.h
index 9133472a..078a31d8 100644
--- a/src/providers/krb5/krb5_auth.h
+++ b/src/providers/krb5/krb5_auth.h
@@ -51,8 +51,8 @@ struct krb5child_req {
bool is_offline;
struct fo_server *srv;
struct fo_server *kpasswd_srv;
- bool active_ccache_present;
- bool valid_tgt_present;
+ bool active_ccache;
+ bool valid_tgt;
bool run_as_user;
bool upn_from_different_realm;
};
@@ -61,6 +61,7 @@ errno_t krb5_setup(TALLOC_CTX *mem_ctx, struct pam_data *pd,
struct krb5_ctx *krb5_ctx, struct krb5child_req **krb5_req);
void krb5_pam_handler(struct be_req *be_req);
+void krb5_pam_handler_auth_done(struct tevent_req *req);
struct tevent_req *krb5_auth_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
@@ -68,7 +69,6 @@ struct tevent_req *krb5_auth_send(TALLOC_CTX *mem_ctx,
struct pam_data *pd,
struct krb5_ctx *krb5_ctx);
int krb5_auth_recv(struct tevent_req *req, int *pam_status, int *dp_err);
-void krb5_auth_done(struct tevent_req *req);
struct tevent_req *handle_child_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,