Bug 1646700 - krb5_cc_retrieve_cred returned KRB5_CC_NOTFOUND with krb5-libs-1.17-0.beta1.1.fc30
Summary: krb5_cc_retrieve_cred returned KRB5_CC_NOTFOUND with krb5-libs-1.17-0.beta1.1...
Keywords:
Status: CLOSED DUPLICATE of bug 1645912
Alias: None
Product: Fedora
Classification: Fedora
Component: krb5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robbie Harwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1646919 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-05 21:07 UTC by Lukas Slebodnik
Modified: 2018-11-12 18:56 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-12 18:56:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Simplifield reproducer from sssd unit test (7.75 KB, text/x-csrc)
2018-11-05 21:07 UTC, Lukas Slebodnik
no flags Details

Description Lukas Slebodnik 2018-11-05 21:07:17 UTC
Created attachment 1502218 [details]
Simplifield reproducer from sssd unit test

Description of problem:
There is a unit test in sssd which test sssd internal function copy_ccache_into_memory. And the recent update of krb5 in rawhide broke it.

Version-Release number of selected component (if applicable):
sh$ rpm -q krb5-libs
krb5-libs-1.17-0.beta1.1.fc30.x86_64

How reproducible:
Deterministic

Steps to Reproduce:
1. dnf install -y gcc krb5-devel libcmocka-devel libtalloc-devel
2. gcc -Wall -Wextra -g3 -O2 -o test_copy_ccache test_copy_ccache.c -lcmocka -ltalloc -lkrb5
3. ./test_copy_ccache

Actual results:
sh# ./test_copy_ccache
[==========] Running 1 test(s).
[ RUN      ] test_copy_ccache
[  ERROR   ] --- 0xffffffff96c73a8d != 0
[   LINE   ] --- test_copy_ccache.c:174: error: Failure!
[  FAILED  ] test_copy_ccache
[==========] 1 test(s) run.
[  PASSED  ] 0 test(s).
[  FAILED  ] 1 test(s), listed below:
[  FAILED  ] test_copy_ccache

 1 FAILED TEST(S)

sh# rpm -q krb5-libs
krb5-libs-1.17-0.beta1.1.fc30.x86_64

Expected results:
//test should pass as with older version.
sh$ ./test_copy_ccache 
[==========] Running 1 test(s).
[ RUN      ] test_copy_ccache
[       OK ] test_copy_ccache
[==========] 1 test(s) run.
[  PASSED  ] 1 test(s).
sh$ rpm -q krb5-libs
krb5-libs-1.16.1-24.fc30.x86_64

Additional info:

Comment 1 Lukas Slebodnik 2018-11-06 11:09:21 UTC
*** Bug 1646919 has been marked as a duplicate of this bug. ***

Comment 2 Robbie Harwood 2018-11-12 18:56:06 UTC

*** This bug has been marked as a duplicate of bug 1645912 ***


Note You need to log in before you can comment on or make changes to this bug.