diff --git a/yunohost_tools.py b/yunohost_tools.py index ebffe1b4..538bf905 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -32,7 +32,7 @@ import subprocess import requests import json from yunohost import YunoHostError, YunoHostLDAP, validate, colorize, get_required_args, win_msg -from yunohost_domain import domain_add, domain_list +from yunohost_domain import domain_add, domain_list, domain_ssowatconf from yunohost_dyndns import dyndns_subscribe from yunohost_backup import backup_init @@ -271,6 +271,9 @@ def tools_postinstall(domain, password, dyndns=False): # New domain config tools_maindomain(old_domain='yunohost.org', new_domain=domain, dyndns=dyndns) + # Generate SSOwat configuration file + domain_ssowatconf() + # Change LDAP admin password tools_adminpw(old_password='yunohost', new_password=password)