DNS Locations: extend server-* command with locations

Server find, server show, server mod should work with IPA locations.

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:
Martin Basti
2016-05-11 18:27:37 +02:00
parent 121e34b90e
commit 15abfcf0f7
4 changed files with 121 additions and 9 deletions

View File

@@ -106,7 +106,7 @@ class location(LDAPObject):
)
def get_dn(self, *keys, **options):
loc = keys[-1]
loc = keys[0]
assert isinstance(loc, DNSName)
loc_a = loc.ToASCII()