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>
$ctx->{dnsname},
$ctx->{domain},
$ctx->{kdc_ipv4});
+ my $lc_domain = lc($ctx->{domain});
print KRB5CONF "
#Generated krb5.conf for $ctx->{realm}
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