From 6e00c9e8137aae1fb8dd568a62d9fb5fc4a277cb Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Tue, 24 Sep 2024 22:35:45 -0400 Subject: finish up idm_server hostclass --- scripts/common/10-vars | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/common') diff --git a/scripts/common/10-vars b/scripts/common/10-vars index 3cfbd8f..2f0dc9d 100644 --- a/scripts/common/10-vars +++ b/scripts/common/10-vars @@ -9,6 +9,9 @@ fi idm_hostnames=$(echo "$idm_server_list" | awk '{print $1}') +fqdn="${BOXCONF_HOSTNAME}.${domain}" +: ${smtp_host:="smtp.${domain}"} + realm=$(echo "$domain" | tr '[:lower:]' '[:upper:]') basedn=$(echo "$domain" | sed -e 's/^/dc=/' -e 's/\./,dc=/g') @@ -26,6 +29,6 @@ roles_basedn="ou=roles,${groups_basedn}" automount_basedn="ou=automount,${basedn}" sudo_basedn="ou=sudo,${basedn}" dns_basedn="ou=dns,${basedn}" -kdc_basedn="ou=dns,${basedn}" +kdc_basedn="cn=kdc,${basedn}" mail_basedn="ou=mail,${basedn}" mail_domains_basedn="ou=domains,${mail_basedn}" -- cgit v1.2.3