diff -ruN e-smith-samba-2.6.0.old/createlinks e-smith-samba-2.6.0/createlinks --- e-smith-samba-2.6.0.old/createlinks 2020-11-13 10:51:17.757341913 +0100 +++ e-smith-samba-2.6.0/createlinks 2020-11-13 11:03:23.888649314 +0100 @@ -24,6 +24,7 @@ foreach my $file (qw( /etc/pam.d/samba + /etc/krb5.conf )) { templates2events($file, qw(console-save bootstrap-console-save)); diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/db/configuration/defaults/krb5/DNSLookupKDC e-smith-samba-2.6.0/root/etc/e-smith/db/configuration/defaults/krb5/DNSLookupKDC --- e-smith-samba-2.6.0.old/root/etc/e-smith/db/configuration/defaults/krb5/DNSLookupKDC 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/db/configuration/defaults/krb5/DNSLookupKDC 2016-09-26 00:50:38.000000000 +0200 @@ -0,0 +1 @@ +true diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/db/configuration/defaults/krb5/DNSLookupRealm e-smith-samba-2.6.0/root/etc/e-smith/db/configuration/defaults/krb5/DNSLookupRealm --- e-smith-samba-2.6.0.old/root/etc/e-smith/db/configuration/defaults/krb5/DNSLookupRealm 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/db/configuration/defaults/krb5/DNSLookupRealm 2016-09-26 00:50:38.000000000 +0200 @@ -0,0 +1 @@ +false diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/db/configuration/defaults/krb5/type e-smith-samba-2.6.0/root/etc/e-smith/db/configuration/defaults/krb5/type --- e-smith-samba-2.6.0.old/root/etc/e-smith/db/configuration/defaults/krb5/type 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/db/configuration/defaults/krb5/type 2016-09-26 00:50:38.000000000 +0200 @@ -0,0 +1 @@ +configuration diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/00usedb e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/00usedb --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/00usedb 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/00usedb 2016-09-26 00:50:38.000000000 +0200 @@ -0,0 +1,3 @@ +{ + use esmith::db; +} diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/02disableprofiledir e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/02disableprofiledir --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/02disableprofiledir 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/02disableprofiledir 2020-11-13 11:03:23.888649314 +0100 @@ -0,0 +1,3 @@ +# Configuration snippets may be placed in this directory as well +# See https://bugs.contribs.org/show_bug.cgi?id=11093 +#includedir /etc/krb5.conf.d/ diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/05logging e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/05logging --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/05logging 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/05logging 2020-11-14 17:41:13.884316007 +0100 @@ -0,0 +1,4 @@ +[logging] + default = FILE:/var/log/krb5libs.log + kdc = FILE:/var/log/krb5kdc.log + admin_server = FILE:/var/log/kadmind.log diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/10libdefaults e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/10libdefaults --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/10libdefaults 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/10libdefaults 2016-09-26 00:50:38.000000000 +0200 @@ -0,0 +1 @@ +[libdefaults] diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/15settings e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/15settings --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/15settings 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/15settings 2020-11-14 17:47:06.884873750 +0100 @@ -0,0 +1,6 @@ + ticket_lifetime = 24h + renew_lifetime = 7d + forwardable = true + rdns = false + default_ccache_name = KEYRING:persistent:%{uid} + \ No newline at end of file diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/20default_realm e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/20default_realm --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/20default_realm 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/20default_realm 2016-09-26 00:50:38.000000000 +0200 @@ -0,0 +1,8 @@ +{ + my $workgroup = $smb{Workgroup} || 'sme-server'; + my $realm = $smb{realm} || $workgroup . "." . $DomainName; + + my $default_realm = $smb{realm} || $workgroup . "." .$DomainName; + + "default_realm = $default_realm"; +} diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/25dns_lookup_realm e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/25dns_lookup_realm --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/25dns_lookup_realm 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/25dns_lookup_realm 2016-09-26 00:50:38.000000000 +0200 @@ -0,0 +1,5 @@ +{ + my $dns_lookup_realm = $krb5{DNSLookupRealm} || 'false'; + + "dns_lookup_realm = $dns_lookup_realm"; +} diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/30dns_lookup_kdc e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/30dns_lookup_kdc --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/30dns_lookup_kdc 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/30dns_lookup_kdc 2016-09-26 00:50:38.000000000 +0200 @@ -0,0 +1,5 @@ +{ + my $dns_lookup_kdc = $krb5{DNSLookupKDC} || 'true'; + + "dns_lookup_kdc = $dns_lookup_kdc"; +} diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/40realms e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/40realms --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/40realms 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/40realms 2020-11-14 17:44:57.125830796 +0100 @@ -0,0 +1,5 @@ +[realms] +# EXAMPLE.COM = { +# kdc = kerberos.example.com +# admin_server = kerberos.example.com +# } diff -ruN e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/50domain_realm e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/50domain_realm --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/krb5.conf/50domain_realm 1970-01-01 01:00:00.000000000 +0100 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/krb5.conf/50domain_realm 2020-11-14 17:45:25.622279244 +0100 @@ -0,0 +1,3 @@ +[domain_realm] +# .example.com = EXAMPLE.COM +# example.com = EXAMPLE.COM