Debian Codegraph @

test/integration/targets/prepare_http_tests/templates/krb5.conf.j2

raw
1 [libdefaults]
2 default_realm = {{ krb5_realm | upper }}
3 dns_lookup_realm = false
4 dns_lookup_kdc = false
5 rdns = false
6
7 [realms]
8 {{ krb5_realm | upper }} = {
9 {% if krb5_provider == 'Heimdal' %}
10 {# Heimdal seems to only use UDP unless TCP is explicitly set and we must use TCP as the SSH tunnel only supports TCP. #}
11 {# The hostname doesn't seem to work when using the alias, just use localhost as that works. #}
12 kdc = tcp/127.0.0.1
13 admin_server = tcp/127.0.0.1
14 {% else %}
15 kdc = {{ httpbin_host }}
16 admin_server = {{ httpbin_host }}
17 {% endif %}
18 }
19
20 [domain_realm]
21 .{{ krb5_realm | lower }} = {{ krb5_realm | upper }}
22 {{ krb5_realm | lower }} = {{ krb5_realm | upper }}
23
24 [logging]
25 krb5 = FILE:/dev/stdout