mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 08:59:57 -06:00
Differentiate location meaning between host and server
A host uses Location (nshostlocation) as an optional hint where a host may phsyically be located (e.g. Lab 2). This will result in an attribute in the host entry like: nshostlocation: Lab 2 A server uses location (ipalocation) to identify which DNS location the server is part of (e.g. prague). This will result in an attribute in the server entry like: ipalocation: idnsname=prague,cn=locations,cn=etc,dc=example,dc=test They are completely different animals. https://pagure.io/freeipa/issue/9317 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
1 parent
6c84ae5c30
commit
f1ed46eb93
2 files changed
+2
-2
No files matched your search
@@ -500,7 +500,7 @@ class host(LDAPObject):
|
||||
Str('nshostlocation?',
|
||||
cli_name='location',
|
||||
label=_('Location'),
|
||||
doc=_('Host location (e.g. "Lab 2")'),
|
||||
doc=_('Host physical location hint (e.g. "Lab 2")'),
|
||||
),
|
||||
Str('nshardwareplatform?',
|
||||
cli_name='platform',
|
||||
|
||||
@@ -130,7 +130,7 @@ class server(LDAPObject):
|
||||
'ipalocation_location?',
|
||||
cli_name='location',
|
||||
label=_('Location'),
|
||||
doc=_('Server location'),
|
||||
doc=_('Server DNS location'),
|
||||
only_relative=True,
|
||||
flags={'no_search'},
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user