mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Implement server-state --state=enabled/hidden
server-state modified the hidden / enabled flags of all configured services of a server. Since the command does not directly modify the server LDAP entry, the command has to be implemented as a dedicated plugin. Fixes: https://pagure.io/freeipa/issue/7892 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com> Reviewed-By: Thomas Woerner <twoerner@redhat.com>
This commit is contained in:
9
API.txt
9
API.txt
@@ -4475,6 +4475,14 @@ option: Str('version?')
|
||||
output: Entry('result')
|
||||
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
||||
output: PrimaryKey('value')
|
||||
command: server_state/1
|
||||
args: 1,2,3
|
||||
arg: Str('cn', cli_name='name')
|
||||
option: StrEnum('state', values=[u'enabled', u'hidden'])
|
||||
option: Str('version?')
|
||||
output: Output('result', type=[<type 'bool'>])
|
||||
output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>])
|
||||
output: PrimaryKey('value')
|
||||
command: service_add/1
|
||||
args: 1,14,3
|
||||
arg: Principal('krbcanonicalname', cli_name='canonical_principal')
|
||||
@@ -6905,6 +6913,7 @@ default: server_role/1
|
||||
default: server_role_find/1
|
||||
default: server_role_show/1
|
||||
default: server_show/1
|
||||
default: server_state/1
|
||||
default: service/1
|
||||
default: service_add/1
|
||||
default: service_add_cert/1
|
||||
|
||||
Reference in New Issue
Block a user