s4:torture/smb2/session: Fix expire tests
authorJustin Stephenson <jstephen@redhat.com>
Tue, 11 Dec 2018 15:43:13 +0000 (10:43 -0500)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 12 Dec 2018 11:51:24 +0000 (12:51 +0100)
commita80fee5054db917050e0bda0482f8d17791d30dd
tree48733a838ce1e60dd206023651b9e4f68b728b68
parent55b2f247f9ba56516efba52481418966a777343e
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
selftest/target/Samba3.pm
source3/selftest/tests.py