summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-11-09 12:06:19 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-11-27 18:24:45 +0100
commit8ff4a9281cf2f22f506ade20b20f2ac55ec9be32 (patch)
tree2e1db99cfbeed98daa1cbddc0a21dc1fde1e30bc
parenta8fe2c7b26b81f7d0418e656c843749523eb0187 (diff)
downloadsssd-8ff4a9281cf2f22f506ade20b20f2ac55ec9be32.tar.gz
sssd-8ff4a9281cf2f22f506ade20b20f2ac55ec9be32.tar.xz
sssd-8ff4a9281cf2f22f506ade20b20f2ac55ec9be32.zip
Remove unused parameter from krb5_auth_store_creds
-rw-r--r--src/providers/krb5/krb5_auth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index 1891c6d66..0adf601e9 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -333,8 +333,7 @@ static errno_t krb5_auth_prepare_ccache_name(struct krb5child_req *kr,
return EOK;
}
-static void krb5_auth_store_creds(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+static void krb5_auth_store_creds(struct sss_domain_info *domain,
struct pam_data *pd)
{
const char *password = NULL;
@@ -1125,7 +1124,7 @@ static void krb5_auth_done(struct tevent_req *subreq)
}
if (state->be_ctx->domain->cache_credentials == TRUE && !res->otp) {
- krb5_auth_store_creds(state->sysdb, state->domain, pd);
+ krb5_auth_store_creds(state->domain, pd);
}
state->pam_status = PAM_SUCCESS;