From d115f40c7a3999e3cbe705a2ff9cf0fd493f80fb Mon Sep 17 00:00:00 2001 From: Michal Zidek Date: Thu, 17 Oct 2013 14:17:56 +0200 Subject: SYSDB: Drop the sysdb_ctx parameter - module sysdb_ops (part 2) --- src/providers/krb5/krb5_auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/providers/krb5') diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c index a1774ba05..fc7c79c6c 100644 --- a/src/providers/krb5/krb5_auth.c +++ b/src/providers/krb5/krb5_auth.c @@ -270,7 +270,7 @@ static void krb5_auth_cache_creds(struct krb5_ctx *krb5_ctx, return; } - ret = sysdb_cache_auth(sysdb, domain, pd->user, + ret = sysdb_cache_auth(domain, pd->user, password, cdb, true, NULL, NULL); if (ret != EOK) { DEBUG(1, ("Offline authentication failed\n")); @@ -373,7 +373,7 @@ static void krb5_auth_store_creds(struct sysdb_ctx *sysdb, return; } - ret = sysdb_cache_password(sysdb, domain, pd->user, password); + ret = sysdb_cache_password(domain, pd->user, password); if (ret) { DEBUG(2, ("Failed to cache password, offline auth may not work." " (%d)[%s]!?\n", ret, strerror(ret))); -- cgit