selftest: samba-ktest-mit also needs $ENV{KRB5RCACHETYPE} = "none"
authorStefan Metzmacher <metze@samba.org>
Fri, 4 Nov 2022 10:23:07 +0000 (10:23 +0000)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Nov 2022 11:01:37 +0000 (11:01 +0000)
commit9ba10b97d3aa50f89f01bb038d98a8086d409c3e
tree5e7f6b50d50e318cca28b2805986666be0ece80f
parentdce639f8bd75ecdca261d1dc8b97ce6a8ebb4eb0
selftest: samba-ktest-mit also needs $ENV{KRB5RCACHETYPE} = "none"

We need to pass --mitkrb5 to selftest.pl in all cases we use
system mit kerberos not only when we also test the kdc.

We can't use a replay cache in selftest verifies the stat.st_uid
against getuid().

BTW: while debugging this on ubuntu 22.04 I exported
KRB5_TRACE="/dev/stderr", which means we get tracing into
the servers log file and into selftest_prefix/subunit for the client...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/wscript