]> git.ipfire.org Git - thirdparty/samba.git/commit
tests/krb5: Cache obtained tickets
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 20 Sep 2021 23:51:20 +0000 (11:51 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 21 Sep 2021 23:05:41 +0000 (23:05 +0000)
commit419e4061ced466ec7e5e23f815823b540ef4751c
treed76f077221a28371d46c8ac878b418ee197743f8
parent6193f7433b15579aa32b26a146287923c9d3844d
tests/krb5: Cache obtained tickets

Now tickets obtained with get_tgt() and get_service_ticket() make use of
a cache so they can be reused, unless the 'fresh' parameter is specified
as true.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/kdc_base_test.py