1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/selftest
Justin Stephenson a80fee5054 s4:torture/smb2/session: Fix expire tests
When run with MIT kerberos, the smb2 session expire tests fail when run
against the ad_member test environment. The krb5 library initializes
values from the private krb5.conf profile
st/ad_member/lockdir/smb_krb5/krb5.conf.ADDOMAIN, this file does not
contain a defined clockskew setting. The expire tests require a low
clockskew value that is set in st/ad_member/lib/krb5.conf.

This patch disables the creation of the private krb5.conf for the
ad_member_idmap_rid testenv, and runs the smb2.session tests
against ad_member_idmap_rid instead of ad_member.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Dec 12 12:51:24 CET 2018 on sn-devel-144
2018-12-12 12:51:24 +01:00
..
ktest-krb5_ccache-2 s3-selftest Add tests to show kerberos works across a password change 2011-04-06 05:24:48 +02:00
ktest-krb5_ccache-3 s3-selftest Add tests to show kerberos works across a password change 2011-04-06 05:24:48 +02:00
ktest-secrets.tdb s3-selftest Add tests to show kerberos works across a password change 2011-04-06 05:24:48 +02:00
tests.py s4:torture/smb2/session: Fix expire tests 2018-12-12 12:51:24 +01:00