diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/krb5/krb5_auth.c | 5 | ||||
-rw-r--r-- | src/providers/krb5/krb5_auth.h | 3 | ||||
-rw-r--r-- | src/providers/krb5/krb5_child.c | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c index 08a97ef1..80d8734a 100644 --- a/src/providers/krb5/krb5_auth.c +++ b/src/providers/krb5/krb5_auth.c @@ -311,9 +311,8 @@ static int krb5_cleanup(void *ptr) return EOK; } -static errno_t krb5_setup(TALLOC_CTX *mem_ctx, struct pam_data *pd, - struct krb5_ctx *krb5_ctx, - struct krb5child_req **krb5_req) +errno_t krb5_setup(TALLOC_CTX *mem_ctx, struct pam_data *pd, + struct krb5_ctx *krb5_ctx, struct krb5child_req **krb5_req) { struct krb5child_req *kr = NULL; diff --git a/src/providers/krb5/krb5_auth.h b/src/providers/krb5/krb5_auth.h index 4178082a..a5405864 100644 --- a/src/providers/krb5/krb5_auth.h +++ b/src/providers/krb5/krb5_auth.h @@ -59,6 +59,9 @@ struct krb5child_req { bool valid_tgt_present; }; +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); struct tevent_req *krb5_auth_send(TALLOC_CTX *mem_ctx, diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index b028962a..9ba2f827 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -930,7 +930,7 @@ static int krb5_cleanup(void *ptr) return EOK; } -static int krb5_setup(struct krb5_req *kr, uint32_t offline) +static int krb5_child_setup(struct krb5_req *kr, uint32_t offline) { krb5_error_code kerr = 0; @@ -1120,9 +1120,9 @@ int main(int argc, const char *argv[]) goto fail; } - ret = krb5_setup(kr, offline); + ret = krb5_child_setup(kr, offline); if (ret != EOK) { - DEBUG(1, ("krb5_setup failed.\n")); + DEBUG(1, ("krb5_child_setup failed.\n")); goto fail; } |