krb5-1.12 is released

Eray Aslan eray.aslan at caf.com.tr
Wed Dec 11 03:37:31 EST 2013


On Tue, Dec 10, 2013 at 11:55:04PM -0500, Tom Yu wrote:
> The MIT Kerberos Team announces the availability of MIT Kerberos 5
> Release 1.12.

make check fails with:

gcc -L../../../lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/local/lib
-g -O2  -o t_cccol t_cccol.o -lkrb5 -lk5crypto -lcom_err -lkrb5support
-lkeyutils -lresolv  -ldl
PYTHONPATH=../../.././src/util VALGRIND="" python
../../.././src/lib/krb5/ccache/t_cccol.py 
*** Failure: Output not expected for keyring
Expected output:

KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt1
KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt2
KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt3

Actual output:



See testlog for details, or re-run with -v flag.

t_cccol.py -v output and testlog are attached.  Any suggestions?

-- 
Eray
-------------- next part --------------
*** [1] Executing: /tmp/krb5-1.12/clients/klist/klist -c KEYRING:process:abcd
klist: No credentials cache found while retrieving principal name
*** [1] Completed with return code 1
*** [2] Executing: ./t_cccol DIR:/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc
*** [2] Completed with return code 0
*** [3] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [3] Completed with return code 0
*** [4] Executing: keyctl purge keyring /tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [4] Completed with return code 0
*** [5] Executing: keyctl list @u
keyring is empty
*** [5] Completed with return code 0
*** [6] Executing: ./t_cccol KEYRING:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [6] Completed with return code 0
*** [7] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [7] Completed with return code 0
*** [8] Executing: ./t_cccol KEYRING:legacy:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [8] Completed with return code 0
*** [9] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [9] Completed with return code 0
*** [10] Executing: ./t_cccol KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [10] Completed with return code 0
*** [11] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [11] Completed with return code 0
*** [12] Executing: ./t_cccol KEYRING:user:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [12] Completed with return code 0
*** [13] Executing: keyctl search @u keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
212044525
*** [13] Completed with return code 0
*** [14] Executing: keyctl unlink 212044525 @u
*** [14] Completed with return code 0
*** [15] Executing: ./t_cccol KEYRING:process:abcd
*** [15] Completed with return code 0
*** [16] Executing: ./t_cccol KEYRING:thread:abcd
*** [16] Completed with return code 0
*** [17] Executing: /tmp/krb5-1.12/kadmin/dbutil/kdb5_util create -W -s -P master
Loading random data
Initializing database '/usr/local/var/krb5kdc/principal' for realm 'KRBTEST.COM',
master key name 'K/M at KRBTEST.COM'
*** [17] Completed with return code 0
*** [18] Executing: /tmp/krb5-1.12/kadmin/cli/kadmin.local -q addprinc -pw user14459 user at KRBTEST.COM
WARNING: no policy specified for user at KRBTEST.COM; defaulting to no policy
Authenticating as principal eraya/admin at KRBTEST.COM with password.
Principal "user at KRBTEST.COM" created.
*** [18] Completed with return code 0
*** [19] Executing: /tmp/krb5-1.12/kadmin/cli/kadmin.local -q addprinc -pw admin14459 user/admin at KRBTEST.COM
WARNING: no policy specified for user/admin at KRBTEST.COM; defaulting to no policy
Authenticating as principal eraya/admin at KRBTEST.COM with password.
Principal "user/admin at KRBTEST.COM" created.
*** [19] Completed with return code 0
*** [20] Starting: /tmp/krb5-1.12/kdc/krb5kdc -n
krb5kdc: starting...
*** [20] Started with pid 14479
*** [21] Executing: /tmp/krb5-1.12/clients/kinit/kinit user at KRBTEST.COM
Password for user at KRBTEST.COM: 
*** [21] Completed with return code 0
*** [22] Executing: /tmp/krb5-1.12/clients/klist/klist /tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
Ticket cache: FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
Default principal: user at KRBTEST.COM

Valid starting     Expires            Service principal
12/11/13 08:26:38  12/12/13 08:26:38  krbtgt/KRBTEST.COM at KRBTEST.COM
*** [22] Completed with return code 0
*** [23] Executing: /tmp/krb5-1.12/kadmin/cli/kadmin.local -q addprinc -pw alice14459 alice
WARNING: no policy specified for alice at KRBTEST.COM; defaulting to no policy
Authenticating as principal user/admin at KRBTEST.COM with password.
Principal "alice at KRBTEST.COM" created.
*** [23] Completed with return code 0
*** [24] Executing: /tmp/krb5-1.12/kadmin/cli/kadmin.local -q addprinc -pw bob14459 bob
WARNING: no policy specified for bob at KRBTEST.COM; defaulting to no policy
Authenticating as principal user/admin at KRBTEST.COM with password.
Principal "bob at KRBTEST.COM" created.
*** [24] Completed with return code 0
*** [25] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt1 user
Password for user at KRBTEST.COM: 
*** [25] Completed with return code 0
*** [26] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt2 alice
Password for alice at KRBTEST.COM: 
*** [26] Completed with return code 0
*** [27] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt3 bob
Password for bob at KRBTEST.COM: 
*** [27] Completed with return code 0
*** [28] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [28] Completed with return code 0
*** [29] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt1 user
Password for user at KRBTEST.COM: 
*** [29] Completed with return code 0
*** [30] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt2 alice
Password for alice at KRBTEST.COM: 
*** [30] Completed with return code 0
*** [31] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt3 bob
Password for bob at KRBTEST.COM: 
*** [31] Completed with return code 0
*** [32] Executing: ./t_cccursor
FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
*** [32] Completed with return code 0
*** [33] Executing: ./t_cccursor /tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
*** [33] Completed with return code 0
*** [34] Executing: ./t_cccursor FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
*** [34] Completed with return code 0
*** [35] Executing: ./t_cccursor DIR:/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc
DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt3
DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt2
DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt1
*** [35] Completed with return code 0
*** [36] Executing: ./t_cccursor DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt1
DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt1
*** [36] Completed with return code 0
*** [37] Executing: ./t_cccursor DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/noent
*** [37] Completed with return code 0
*** [38] Executing: ./t_cccursor KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [38] Completed with return code 0
*** Failure: Output not expected for keyring
Expected output:

KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt1
KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt2
KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt3

Actual output:



Use --debug=NUM to run a command under a debugger.  Use
--stop-after=NUM to stop after a daemon is started in order to
attach to it with a debugger.  Use --help to see other options.
-------------- next part --------------
*** [1] Executing: /tmp/krb5-1.12/clients/klist/klist -c KEYRING:process:abcd
klist: No credentials cache found while retrieving principal name
*** [1] Completed with return code 1
*** [2] Executing: ./t_cccol DIR:/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc
*** [2] Completed with return code 0
*** [3] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [3] Completed with return code 0
*** [4] Executing: keyctl purge keyring /tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [4] Completed with return code 0
*** [5] Executing: keyctl list @u
keyring is empty
*** [5] Completed with return code 0
*** [6] Executing: ./t_cccol KEYRING:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [6] Completed with return code 0
*** [7] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [7] Completed with return code 0
*** [8] Executing: ./t_cccol KEYRING:legacy:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [8] Completed with return code 0
*** [9] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [9] Completed with return code 0
*** [10] Executing: ./t_cccol KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [10] Completed with return code 0
*** [11] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [11] Completed with return code 0
*** [12] Executing: ./t_cccol KEYRING:user:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [12] Completed with return code 0
*** [13] Executing: keyctl search @u keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
212044525
*** [13] Completed with return code 0
*** [14] Executing: keyctl unlink 212044525 @u
*** [14] Completed with return code 0
*** [15] Executing: ./t_cccol KEYRING:process:abcd
*** [15] Completed with return code 0
*** [16] Executing: ./t_cccol KEYRING:thread:abcd
*** [16] Completed with return code 0
*** [17] Executing: /tmp/krb5-1.12/kadmin/dbutil/kdb5_util create -W -s -P master
Loading random data
Initializing database '/usr/local/var/krb5kdc/principal' for realm 'KRBTEST.COM',
master key name 'K/M at KRBTEST.COM'
*** [17] Completed with return code 0
*** [18] Executing: /tmp/krb5-1.12/kadmin/cli/kadmin.local -q addprinc -pw user14459 user at KRBTEST.COM
WARNING: no policy specified for user at KRBTEST.COM; defaulting to no policy
Authenticating as principal eraya/admin at KRBTEST.COM with password.
Principal "user at KRBTEST.COM" created.
*** [18] Completed with return code 0
*** [19] Executing: /tmp/krb5-1.12/kadmin/cli/kadmin.local -q addprinc -pw admin14459 user/admin at KRBTEST.COM
WARNING: no policy specified for user/admin at KRBTEST.COM; defaulting to no policy
Authenticating as principal eraya/admin at KRBTEST.COM with password.
Principal "user/admin at KRBTEST.COM" created.
*** [19] Completed with return code 0
*** [20] Starting: /tmp/krb5-1.12/kdc/krb5kdc -n
krb5kdc: starting...
*** [20] Started with pid 14479
*** [21] Executing: /tmp/krb5-1.12/clients/kinit/kinit user at KRBTEST.COM
Password for user at KRBTEST.COM: 
*** [21] Completed with return code 0
*** [22] Executing: /tmp/krb5-1.12/clients/klist/klist /tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
Ticket cache: FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
Default principal: user at KRBTEST.COM

Valid starting     Expires            Service principal
12/11/13 08:26:38  12/12/13 08:26:38  krbtgt/KRBTEST.COM at KRBTEST.COM
*** [22] Completed with return code 0
*** [23] Executing: /tmp/krb5-1.12/kadmin/cli/kadmin.local -q addprinc -pw alice14459 alice
WARNING: no policy specified for alice at KRBTEST.COM; defaulting to no policy
Authenticating as principal user/admin at KRBTEST.COM with password.
Principal "alice at KRBTEST.COM" created.
*** [23] Completed with return code 0
*** [24] Executing: /tmp/krb5-1.12/kadmin/cli/kadmin.local -q addprinc -pw bob14459 bob
WARNING: no policy specified for bob at KRBTEST.COM; defaulting to no policy
Authenticating as principal user/admin at KRBTEST.COM with password.
Principal "bob at KRBTEST.COM" created.
*** [24] Completed with return code 0
*** [25] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt1 user
Password for user at KRBTEST.COM: 
*** [25] Completed with return code 0
*** [26] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt2 alice
Password for alice at KRBTEST.COM: 
*** [26] Completed with return code 0
*** [27] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt3 bob
Password for bob at KRBTEST.COM: 
*** [27] Completed with return code 0
*** [28] Executing: keyctl purge keyring _krb_/tmp/krb5-1.12/lib/krb5/ccache/testdir
purged 0 keys
*** [28] Completed with return code 0
*** [29] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt1 user
Password for user at KRBTEST.COM: 
*** [29] Completed with return code 0
*** [30] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt2 alice
Password for alice at KRBTEST.COM: 
*** [30] Completed with return code 0
*** [31] Executing: /tmp/krb5-1.12/clients/kinit/kinit -c KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir:tkt3 bob
Password for bob at KRBTEST.COM: 
*** [31] Completed with return code 0
*** [32] Executing: ./t_cccursor
FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
*** [32] Completed with return code 0
*** [33] Executing: ./t_cccursor /tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
*** [33] Completed with return code 0
*** [34] Executing: ./t_cccursor FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
FILE:/tmp/krb5-1.12/lib/krb5/ccache/testdir/ccache
*** [34] Completed with return code 0
*** [35] Executing: ./t_cccursor DIR:/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc
DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt3
DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt2
DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt1
*** [35] Completed with return code 0
*** [36] Executing: ./t_cccursor DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt1
DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/tkt1
*** [36] Completed with return code 0
*** [37] Executing: ./t_cccursor DIR::/tmp/krb5-1.12/lib/krb5/ccache/testdir/cc/noent
*** [37] Completed with return code 0
*** [38] Executing: ./t_cccursor KEYRING:session:/tmp/krb5-1.12/lib/krb5/ccache/testdir
*** [38] Completed with return code 0


More information about the Kerberos mailing list