mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
DNS Locations: fix location-del
The wrong option was used https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user