diff options
Diffstat (limited to 'scripts/common/10-vars')
-rw-r--r-- | scripts/common/10-vars | 5 |
1 files changed, 4 insertions, 1 deletions
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}" |