python: Make credentials cache test run against Windows
commit7791acb074b84ec7b571a81f15b56d33e2214ce9
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 10 May 2021 03:06:06 +0000 (10 15:06 +1200)
committerJeremy Allison <jra@samba.org>
Wed, 19 May 2021 02:22:00 +0000 (19 02:22 +0000)
tree6e302b3e42c39640d6c9daf2ce5b9c523cb11c9c
parentb9006f33343ba8bb82ef8ffe1fd90c780961b41e
python: Make credentials cache test run against Windows

Windows, unlike Samba, requires the service principal name to be set
when requesting a ticket to that service.

Additionally, default_realm from the libdefaults section of krb5.conf
should be set so that the correct realm is used.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed May 19 02:22:01 UTC 2021 on sn-devel-184
python/samba/tests/krb5/test_ccache.py