From ae2e728c82281f36312905cbede0786e2199d987 Mon Sep 17 00:00:00 2001 From: Kload Date: Thu, 28 Feb 2013 15:26:35 +0100 Subject: [PATCH] fail --- yunohost_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yunohost_tools.py b/yunohost_tools.py index ebe6f59c..05283b75 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -113,7 +113,7 @@ def tools_maindomain(old_domain, new_domain): lemon_conf_lines = [ "delete $tmp->{'locationRules'}->{'"+ old_domain +"'}->{'^/sso/'};", # Remove SSO access rule from old domain - "$tmp->{'domain'} = '"+ old_domain +"';", # Replace Lemon domain + "$tmp->{'domain'} = '"+ new_domain +"';", # Replace Lemon domain "$tmp->{'ldapBase'} = 'dc=yunohost,dc=org';", # Set ldap basedn "$tmp->{'portal'} = 'https://"+ new_domain +"/sso/';", # Set SSO url "$tmp->{'locationRules'}->{'"+ new_domain +"'}->{'^/sso/'} = 'unprotect';" # Add SSO access rule to new domain