mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -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:
parent
6c84ae5c30
commit
f1ed46eb93
@ -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'},
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user