tests/krb5: Don’t cache accounts with an assigned policy or silo
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 26 May 2023 00:07:42 +0000 (12:07 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 29 May 2023 22:32:28 +0000 (22:32 +0000)
commitb1b7d7561acccfec248c6a2f260d81c0f3bacbe2
tree40442092f09d39dd78645cd9d31b0319e5b4f8a6
parentdc0d96b058b7b55a5a5ef9954bedcc692da6f8b3
tests/krb5: Don’t cache accounts with an assigned policy or silo

Such accounts are virtually never reused. Not caching them (thus
deleting them early) grants significant time savings.

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