diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2016-06-24 10:32:11 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-27 12:59:48 +0200 |
commit | 9392b212719032a694ff47ae8802b46f9f58e718 (patch) | |
tree | 43d90a04ba169199e9e97019c1019f782ab21d43 /ipaserver/plugins | |
parent | a07030f3867168969d32f0f46e792ae0697529bc (diff) | |
download | freeipa-9392b212719032a694ff47ae8802b46f9f58e718.tar.gz freeipa-9392b212719032a694ff47ae8802b46f9f58e718.tar.xz freeipa-9392b212719032a694ff47ae8802b46f9f58e718.zip |
Fix incorrect construction of service principal during replica cleanup
https://fedorahosted.org/freeipa/ticket/5985
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r-- | ipaserver/plugins/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/server.py b/ipaserver/plugins/server.py index c1446ae97..b245dcf72 100644 --- a/ipaserver/plugins/server.py +++ b/ipaserver/plugins/server.py @@ -540,7 +540,7 @@ class server_del(LDAPDelete): conn = self.Backend.ldap2 env = self.api.env - master_principal = "{}@{}".format(master, env) + master_principal = "{}@{}".format(master, env.realm) # remove replica memberPrincipal from s4u2proxy configuration s4u2proxy_subtree = DN(env.container_s4u2proxy, |