From d7671ee66786b674454b7b58c9558e0c7c853cd5 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Jun 17 2016 13:22:24 +0000 Subject: DNS Locations: fix location-del The wrong option was used https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek Reviewed-By: Jan Cholasta --- diff --git a/ipaserver/plugins/location.py b/ipaserver/plugins/location.py index 3230664..be7291b 100644 --- a/ipaserver/plugins/location.py +++ b/ipaserver/plugins/location.py @@ -142,7 +142,8 @@ class location_del(LDAPDelete): servers = self.api.Command.server_find( in_location=keys[-1])['result'] for server in servers: - self.api.Command.server_mod(server['cn'][0], location=None) + self.api.Command.server_mod(server['cn'][0], + ipalocation_location=None) return dn