diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-04 09:40:34 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-10-07 10:58:28 +0200 |
commit | a8d269bbcaf5b704cd1c8bc73679ee6285345ab1 (patch) | |
tree | 8ae3c08d458586226134e45368dc8b49e5dd1a55 /src/tests/krb5_child-test.c | |
parent | 9d45ab1ae39e2398b4dc06c85069981be92cf94c (diff) | |
download | sssd-a8d269bbcaf5b704cd1c8bc73679ee6285345ab1.tar.gz sssd-a8d269bbcaf5b704cd1c8bc73679ee6285345ab1.tar.xz sssd-a8d269bbcaf5b704cd1c8bc73679ee6285345ab1.zip |
krb5: Fix unit tests
Diffstat (limited to 'src/tests/krb5_child-test.c')
-rw-r--r-- | src/tests/krb5_child-test.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tests/krb5_child-test.c b/src/tests/krb5_child-test.c index 959b1bd69..0c6b68b82 100644 --- a/src/tests/krb5_child-test.c +++ b/src/tests/krb5_child-test.c @@ -198,7 +198,6 @@ create_dummy_req(TALLOC_CTX *mem_ctx, const char *user, { struct krb5child_req *kr; struct passwd *pwd; - bool private = false; errno_t ret; /* The top level child request */ @@ -246,7 +245,7 @@ create_dummy_req(TALLOC_CTX *mem_ctx, const char *user, kr->ccname = expand_ccname_template(kr, kr, dp_opt_get_cstring(kr->krb5_ctx->opts, KRB5_CCNAME_TMPL), - true, true, &private); + true, true); if (!kr->ccname) goto fail; DEBUG(SSSDBG_FUNC_DATA, ("ccname [%s] uid [%llu] gid [%llu]\n", @@ -262,7 +261,7 @@ create_dummy_req(TALLOC_CTX *mem_ctx, const char *user, ret = sss_krb5_precreate_ccache(kr->ccname, kr->krb5_ctx->illegal_path_re, - kr->uid, kr->gid, private); + kr->uid, kr->gid); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, ("create_ccache_dir failed.\n")); goto fail; |