diff options
author | Isaac Boukris <iboukris@samba.org> | 2019-11-09 15:36:32 +0000 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-11-19 12:02:02 +0000 |
commit | 95f267704e70171a5dbf5784c745de07c2c1b001 (patch) | |
tree | 6ec8f1b4bfdf257f33a10f29faa78f0e27bcd92b | |
parent | 83299928bbfb7bbd2b28b07cf6fe582b2a4e616e (diff) | |
download | samba-95f267704e70171a5dbf5784c745de07c2c1b001.tar.gz |
selftest: system-heimdal: workaround upstream "host" canon bug
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14179
Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 15ddd95d94688ed742a2965c4b269d7c84e2d858)
-rw-r--r-- | selftest/target/Samba.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/selftest/target/Samba.pm b/selftest/target/Samba.pm index c30f6fe33ce..2d0378d1b92 100644 --- a/selftest/target/Samba.pm +++ b/selftest/target/Samba.pm @@ -252,6 +252,7 @@ sub mk_krb5_conf($$) $ctx->{dnsname}, $ctx->{domain}, $ctx->{kdc_ipv4}); + my $lc_domain = lc($ctx->{domain}); print KRB5CONF " #Generated krb5.conf for $ctx->{realm} @@ -263,6 +264,11 @@ sub mk_krb5_conf($$) forwardable = yes allow_weak_crypto = yes + name_canon_rules=as-is:realm=$ctx->{realm} + name_canon_rules=as-is:realm=$ctx->{dnsname} + name_canon_rules=as-is:realm=$ctx->{domain} + name_canon_rules=as-is:realm=$lc_domain + # We are running on the same machine, do not correct # system clock differences kdc_timesync = 0 |