diff options
author | Martin Basti <mbasti@redhat.com> | 2016-05-11 18:27:37 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-03 15:58:21 +0200 |
commit | 15abfcf0f77664f426ba50ebf20e0f6c2a6f8275 (patch) | |
tree | 2fd3033f5dc66618e3e1968a81bf2b9a8540a9fd /ipaserver/plugins/location.py | |
parent | 121e34b90e890285c480a0c89e833d1369d61401 (diff) | |
download | freeipa-15abfcf0f77664f426ba50ebf20e0f6c2a6f8275.tar.gz freeipa-15abfcf0f77664f426ba50ebf20e0f6c2a6f8275.tar.xz freeipa-15abfcf0f77664f426ba50ebf20e0f6c2a6f8275.zip |
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>
Diffstat (limited to 'ipaserver/plugins/location.py')
-rw-r--r-- | ipaserver/plugins/location.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/location.py b/ipaserver/plugins/location.py index 7c0aab174..35435f451 100644 --- a/ipaserver/plugins/location.py +++ b/ipaserver/plugins/location.py @@ -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() |