2010-08-13 16:56:16 -05:00
# Authors:
# Pavel Zuna <pzuna@redhat.com>
2011-02-18 13:34:56 -06:00
# Adam Young <ayoung@redhat.com>
# Endi S. Dewata <edewata@redhat.com>
2010-08-13 16:56:16 -05:00
#
# Copyright (c) 2010 Red Hat
# See file 'copying' for use and warranty information
#
2010-12-09 06:59:11 -06:00
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
2010-08-13 16:56:16 -05:00
#
# This program is distributed in the hope that it will be useful,
2010-12-09 06:59:11 -06:00
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
2010-08-13 16:56:16 -05:00
#
2010-12-09 06:59:11 -06:00
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
2010-08-13 16:56:16 -05:00
"""
Plugins not accessible directly through the CLI , commands used internally
"""
import json
2012-12-13 10:42:06 -06:00
from ipalib import api
2010-08-13 16:56:16 -05:00
from ipalib import Command
from ipalib import Str
from ipalib . output import Output
from ipalib . text import _
from ipalib . util import json_serialize
2014-06-10 10:27:51 -05:00
from ipalib . plugable import Registry
2010-08-13 16:56:16 -05:00
2014-06-10 10:27:51 -05:00
register = Registry ( )
@register ( )
2010-08-13 16:56:16 -05:00
class json_metadata ( Command ) :
"""
Export plugin meta - data for the webUI .
"""
2011-01-20 14:07:43 -06:00
NO_CLI = True
2010-09-24 19:48:23 -05:00
2010-11-17 21:15:09 -06:00
takes_args = (
Str ( ' objname? ' ,
doc = _ ( ' Name of object to export ' ) ,
) ,
2011-02-18 00:02:51 -06:00
Str ( ' methodname? ' ,
doc = _ ( ' Name of method to export ' ) ,
) ,
2010-11-17 21:15:09 -06:00
)
2011-11-16 15:13:32 -06:00
takes_options = (
Str ( ' object? ' ,
doc = _ ( ' Name of object to export ' ) ,
) ,
Str ( ' method? ' ,
doc = _ ( ' Name of method to export ' ) ,
) ,
Str ( ' command? ' ,
doc = _ ( ' Name of command to export ' ) ,
) ,
)
2010-11-17 21:15:09 -06:00
has_output = (
2011-02-18 00:02:51 -06:00
Output ( ' objects ' , dict , doc = _ ( ' Dict of JSON encoded IPA Objects ' ) ) ,
Output ( ' methods ' , dict , doc = _ ( ' Dict of JSON encoded IPA Methods ' ) ) ,
2011-11-16 15:13:32 -06:00
Output ( ' commands ' , dict , doc = _ ( ' Dict of JSON encoded IPA Commands ' ) ) ,
2010-11-17 21:15:09 -06:00
)
2011-11-16 15:13:32 -06:00
def execute ( self , objname , methodname , * * options ) :
split metadata call
The JSON metadata call has grown large enough that parsing it requires too much stack space on some browsers. TO avoid breaking the API, this change reuses some testing parameters that we established for the metadata call in the past. To fetch just the objects call it like this:
{"method":"json_metadata","params":[["all",""],{}],"id":0}
And just the methods call it like this:
{"method":"json_metadata","params":[["","all"],{}],"id":0}
Note the difference in the positional parameters.
To get a specific object, pass the object name as the first parameter. To get a specific method, pass a blank first parameter and the method name in the second parameter.
THis is not ideal, but we are constrained by the existing API.
2011-10-06 15:38:01 -05:00
objects = dict ( )
methods = dict ( )
2011-11-16 15:13:32 -06:00
commands = dict ( )
split metadata call
The JSON metadata call has grown large enough that parsing it requires too much stack space on some browsers. TO avoid breaking the API, this change reuses some testing parameters that we established for the metadata call in the past. To fetch just the objects call it like this:
{"method":"json_metadata","params":[["all",""],{}],"id":0}
And just the methods call it like this:
{"method":"json_metadata","params":[["","all"],{}],"id":0}
Note the difference in the positional parameters.
To get a specific object, pass the object name as the first parameter. To get a specific method, pass a blank first parameter and the method name in the second parameter.
THis is not ideal, but we are constrained by the existing API.
2011-10-06 15:38:01 -05:00
2011-11-16 15:13:32 -06:00
empty = True
try :
if not objname :
objname = options [ ' object ' ]
split metadata call
The JSON metadata call has grown large enough that parsing it requires too much stack space on some browsers. TO avoid breaking the API, this change reuses some testing parameters that we established for the metadata call in the past. To fetch just the objects call it like this:
{"method":"json_metadata","params":[["all",""],{}],"id":0}
And just the methods call it like this:
{"method":"json_metadata","params":[["","all"],{}],"id":0}
Note the difference in the positional parameters.
To get a specific object, pass the object name as the first parameter. To get a specific method, pass a blank first parameter and the method name in the second parameter.
THis is not ideal, but we are constrained by the existing API.
2011-10-06 15:38:01 -05:00
if objname in self . api . Object :
o = self . api . Object [ objname ]
objects = dict ( [ ( o . name , json_serialize ( o ) ) ] )
elif objname == " all " :
objects = dict (
( o . name , json_serialize ( o ) ) for o in self . api . Object ( )
)
2011-11-16 15:13:32 -06:00
empty = False
except KeyError :
pass
try :
if not methodname :
methodname = options [ ' method ' ]
if methodname in self . api . Method :
split metadata call
The JSON metadata call has grown large enough that parsing it requires too much stack space on some browsers. TO avoid breaking the API, this change reuses some testing parameters that we established for the metadata call in the past. To fetch just the objects call it like this:
{"method":"json_metadata","params":[["all",""],{}],"id":0}
And just the methods call it like this:
{"method":"json_metadata","params":[["","all"],{}],"id":0}
Note the difference in the positional parameters.
To get a specific object, pass the object name as the first parameter. To get a specific method, pass a blank first parameter and the method name in the second parameter.
THis is not ideal, but we are constrained by the existing API.
2011-10-06 15:38:01 -05:00
m = self . api . Method [ methodname ]
methods = dict ( [ ( m . name , json_serialize ( m ) ) ] )
elif methodname == " all " :
methods = dict (
( m . name , json_serialize ( m ) ) for m in self . api . Method ( )
)
2011-11-16 15:13:32 -06:00
empty = False
except KeyError :
pass
try :
cmdname = options [ ' command ' ]
if cmdname in self . api . Command :
c = self . api . Command [ cmdname ]
commands = dict ( [ ( c . name , json_serialize ( c ) ) ] )
elif cmdname == " all " :
commands = dict (
( c . name , json_serialize ( c ) ) for c in self . api . Command ( )
)
empty = False
except KeyError :
pass
if empty :
2011-02-18 00:02:51 -06:00
objects = dict (
2010-11-17 21:15:09 -06:00
( o . name , json_serialize ( o ) ) for o in self . api . Object ( )
2011-02-18 00:02:51 -06:00
)
methods = dict (
( m . name , json_serialize ( m ) ) for m in self . api . Method ( )
)
2011-11-16 15:13:32 -06:00
commands = dict (
( c . name , json_serialize ( c ) ) for c in self . api . Command ( )
)
2010-11-17 21:15:09 -06:00
2011-02-18 00:02:51 -06:00
retval = dict ( [
( " objects " , objects ) ,
( " methods " , methods ) ,
2011-11-16 15:13:32 -06:00
( " commands " , commands ) ,
2011-02-18 00:02:51 -06:00
] )
2010-11-17 21:15:09 -06:00
return retval
def output_for_cli ( self , textui , result , * args , * * options ) :
print json . dumps ( result , default = json_serialize )
2014-06-10 10:27:51 -05:00
@register ( )
2010-11-17 21:15:09 -06:00
class i18n_messages ( Command ) :
2011-01-20 14:07:43 -06:00
NO_CLI = True
2011-08-29 17:34:10 -05:00
messages = {
" ajax " : {
" 401 " : {
2012-06-08 08:02:25 -05:00
" message " : _ ( " Your session has expired. Please re-login. " ) ,
2011-08-29 17:34:10 -05:00
} ,
} ,
Action lists
This patch add support fo Action Lists.
Action list is a select widget with actions as options located in facet header. Action can be selected and then executed by clickin on 'apply' button.
Actions lists are defined on facet level. Facet header takes them from facet.
Action list options
actions: list of actions
state_evaluator: a state evaluator which is needed for enabling/disabling options. Can encapsulate more evaluators.
State evaluator object
----------------------
State evaluator is resposible for evaluating a state from result set. State is a array of strings. Each evaluator should inherit from IPA.state_evaluator and override evaluate method.
Methods:
evaluate(record): should return string array which represents the state
get_description(): human readable representation of a state
Action
------
Action is a object which can perform certain action on a facet. Action has enabling and disabling conditions.
action options:
name: string, required, name of the option
label: string, required, human readable name of the option
enable_cond: string array, states which need to be present in order to run this action
disable_cond: string array, states which must not be present in order to run this action
handler: function, contains action's logic
needs_confirm: boolean, default false, indicates if action needs user confirmation
confirm_msg: string, default generic message, human readable confirmation message.
Action list should contain logic which enables/disables action based on facet state and action's enabling/disabling conditions. It should also enforce presence of confirmation.
In this patch is also slightly modified facet header, mostly title part. It was revised to contain status icon, title and action list on single line. Facet header is using state evaluator's get_description method to properly set tooltip for state icon.
https://fedorahosted.org/freeipa/ticket/2247
2012-04-04 09:33:48 -05:00
" actions " : {
2012-05-23 02:27:28 -05:00
" apply " : _ ( " Apply " ) ,
2013-09-25 04:29:31 -05:00
" automember_rebuild " : _ ( " Rebuild auto membership " ) ,
2014-04-14 09:44:03 -05:00
" automember_rebuild_confirm " : _ ( " Are you sure you want to rebuild auto membership? " ) ,
2013-09-25 04:29:31 -05:00
" automember_rebuild_success " : _ ( " Automember rebuild membership task completed " ) ,
" confirm " : _ ( " Are you sure you want to proceed with the action? " ) ,
" delete_confirm " : _ ( " Are you sure you want to delete $ {object} ? " ) ,
" disable_confirm " : _ ( " Are you sure you want to disable $ {object} ? " ) ,
" enable_confirm " : _ ( " Are you sure you want to enable $ {object} ? " ) ,
2012-05-23 02:27:28 -05:00
" title " : _ ( " Actions " ) ,
Action lists
This patch add support fo Action Lists.
Action list is a select widget with actions as options located in facet header. Action can be selected and then executed by clickin on 'apply' button.
Actions lists are defined on facet level. Facet header takes them from facet.
Action list options
actions: list of actions
state_evaluator: a state evaluator which is needed for enabling/disabling options. Can encapsulate more evaluators.
State evaluator object
----------------------
State evaluator is resposible for evaluating a state from result set. State is a array of strings. Each evaluator should inherit from IPA.state_evaluator and override evaluate method.
Methods:
evaluate(record): should return string array which represents the state
get_description(): human readable representation of a state
Action
------
Action is a object which can perform certain action on a facet. Action has enabling and disabling conditions.
action options:
name: string, required, name of the option
label: string, required, human readable name of the option
enable_cond: string array, states which need to be present in order to run this action
disable_cond: string array, states which must not be present in order to run this action
handler: function, contains action's logic
needs_confirm: boolean, default false, indicates if action needs user confirmation
confirm_msg: string, default generic message, human readable confirmation message.
Action list should contain logic which enables/disables action based on facet state and action's enabling/disabling conditions. It should also enforce presence of confirmation.
In this patch is also slightly modified facet header, mostly title part. It was revised to contain status icon, title and action list on single line. Facet header is using state evaluator's get_description method to properly set tooltip for state icon.
https://fedorahosted.org/freeipa/ticket/2247
2012-04-04 09:33:48 -05:00
} ,
2011-08-29 17:34:10 -05:00
" association " : {
" add " : {
" ipasudorunas " : _ ( " Add RunAs $ {other_entity} into $ {entity} $ {primary_key} " ) ,
" ipasudorunasgroup " : _ ( " Add RunAs Groups into $ {entity} $ {primary_key} " ) ,
" managedby " : _ ( " Add $ {other_entity} Managing $ {entity} $ {primary_key} " ) ,
" member " : _ ( " Add $ {other_entity} into $ {entity} $ {primary_key} " ) ,
" memberallowcmd " : _ ( " Add Allow $ {other_entity} into $ {entity} $ {primary_key} " ) ,
" memberdenycmd " : _ ( " Add Deny $ {other_entity} into $ {entity} $ {primary_key} " ) ,
" memberof " : _ ( " Add $ {entity} $ {primary_key} into $ {other_entity} " ) ,
} ,
2013-05-15 10:33:21 -05:00
" added " : _ ( " $ {count} item(s) added " ) ,
2011-10-24 19:20:14 -05:00
" direct_membership " : _ ( " Direct Membership " ) ,
2014-05-13 08:24:18 -05:00
" filter_placeholder " : _ ( " Filter available $ {other_entity} " ) ,
2011-10-24 19:20:14 -05:00
" indirect_membership " : _ ( " Indirect Membership " ) ,
2011-08-29 17:34:10 -05:00
" no_entries " : _ ( " No entries. " ) ,
" paging " : _ ( " Showing $ {start} to $ {end} of $ {total} entries. " ) ,
" remove " : {
" ipasudorunas " : _ ( " Remove RunAs $ {other_entity} from $ {entity} $ {primary_key} " ) ,
" ipasudorunasgroup " : _ ( " Remove RunAs Groups from $ {entity} $ {primary_key} " ) ,
" managedby " : _ ( " Remove $ {other_entity} Managing $ {entity} $ {primary_key} " ) ,
" member " : _ ( " Remove $ {other_entity} from $ {entity} $ {primary_key} " ) ,
" memberallowcmd " : _ ( " Remove Allow $ {other_entity} from $ {entity} $ {primary_key} " ) ,
" memberdenycmd " : _ ( " Remove Deny $ {other_entity} from $ {entity} $ {primary_key} " ) ,
" memberof " : _ ( " Remove $ {entity} $ {primary_key} from $ {other_entity} " ) ,
} ,
2013-05-15 10:33:21 -05:00
" removed " : _ ( " $ {count} item(s) removed " ) ,
2011-08-29 17:34:10 -05:00
" show_results " : _ ( " Show Results " ) ,
} ,
2014-07-24 08:33:04 -05:00
" authtype " : {
" config_tooltip " : _ ( " Implicit method (password) will be used if no method is chosen. " ) ,
" type_otp " : _ ( " Two factor authentication (password + OTP) " ) ,
" type_password " : _ ( " Password " ) ,
" type_radius " : _ ( " Radius " ) ,
2014-11-13 01:42:55 -06:00
" type_disabled " : _ ( " Disable per-user override " ) ,
2014-07-24 08:33:04 -05:00
" user_tooltip " : _ ( " Per-user setting, overwrites the global setting if any option is checked. " ) ,
} ,
2011-08-29 17:34:10 -05:00
" buttons " : {
2013-11-07 07:37:57 -06:00
" about " : _ ( " About " ) ,
2015-04-22 07:57:26 -05:00
" activate " : _ ( " Activate " ) ,
2011-08-29 17:34:10 -05:00
" add " : _ ( " Add " ) ,
" add_and_add_another " : _ ( " Add and Add Another " ) ,
" add_and_close " : _ ( " Add and Close " ) ,
" add_and_edit " : _ ( " Add and Edit " ) ,
" add_many " : _ ( " Add Many " ) ,
2014-09-03 07:45:05 -05:00
" apply " : _ ( " Apply " ) ,
2012-02-27 08:31:20 -06:00
" back " : _ ( " Back " ) ,
2011-08-29 17:34:10 -05:00
" cancel " : _ ( " Cancel " ) ,
" close " : _ ( " Close " ) ,
2012-04-30 08:02:41 -05:00
" disable " : _ ( " Disable " ) ,
2012-01-19 03:28:44 -06:00
" edit " : _ ( " Edit " ) ,
2012-04-30 08:02:41 -05:00
" enable " : _ ( " Enable " ) ,
2014-05-13 08:24:18 -05:00
" filter " : _ ( " Filter " ) ,
2011-08-29 17:34:10 -05:00
" find " : _ ( " Find " ) ,
" get " : _ ( " Get " ) ,
" issue " : _ ( " Issue " ) ,
" ok " : _ ( " OK " ) ,
2012-01-16 07:17:46 -06:00
" refresh " : _ ( " Refresh " ) ,
2011-08-29 17:34:10 -05:00
" remove " : _ ( " Delete " ) ,
" reset " : _ ( " Reset " ) ,
2012-06-08 08:02:25 -05:00
" reset_password_and_login " : _ ( " Reset Password and Login " ) ,
2011-08-29 17:34:10 -05:00
" restore " : _ ( " Restore " ) ,
" retry " : _ ( " Retry " ) ,
2015-05-05 07:33:27 -05:00
" revert " : _ ( " Revert " ) ,
2011-08-29 17:34:10 -05:00
" revoke " : _ ( " Revoke " ) ,
2015-05-05 07:33:27 -05:00
" save " : _ ( " Save " ) ,
2012-02-06 07:52:09 -06:00
" set " : _ ( " Set " ) ,
2014-09-03 07:45:05 -05:00
" unapply " : ( " Un-apply " ) ,
2011-08-29 17:34:10 -05:00
" update " : _ ( " Update " ) ,
" view " : _ ( " View " ) ,
} ,
" details " : {
" collapse_all " : _ ( " Collapse All " ) ,
" expand_all " : _ ( " Expand All " ) ,
" general " : _ ( " General " ) ,
" identity " : _ ( " Identity Settings " ) ,
" settings " : _ ( " $ {entity} $ {primary_key} Settings " ) ,
2012-08-29 10:35:07 -05:00
" to_top " : _ ( " Back to Top " ) ,
" updated " : _ ( " $ {entity} $ {primary_key} updated " ) ,
2011-08-29 17:34:10 -05:00
} ,
" dialogs " : {
2011-09-27 09:28:14 -05:00
" add_confirmation " : _ ( " $ {entity} successfully added " ) ,
2011-08-29 17:34:10 -05:00
" add_title " : _ ( " Add $ {entity} " ) ,
" available " : _ ( " Available " ) ,
" batch_error_message " : _ ( " Some operations failed. " ) ,
" batch_error_title " : _ ( " Operations Error " ) ,
" confirmation " : _ ( " Confirmation " ) ,
" dirty_message " : _ ( " This page has unsaved changes. Please save or revert. " ) ,
" dirty_title " : _ ( " Unsaved Changes " ) ,
2012-01-19 03:28:44 -06:00
" edit_title " : _ ( " Edit $ {entity} " ) ,
2011-08-29 17:34:10 -05:00
" hide_details " : _ ( " Hide details " ) ,
2013-11-07 07:37:57 -06:00
" about_title " : _ ( " About " ) ,
" about_message " : _ ( " $ {product} , version: $ {version} " ) ,
2011-08-29 17:34:10 -05:00
" prospective " : _ ( " Prospective " ) ,
" redirection " : _ ( " Redirection " ) ,
" remove_empty " : _ ( " Select entries to be removed. " ) ,
" remove_title " : _ ( " Remove $ {entity} " ) ,
" show_details " : _ ( " Show details " ) ,
2015-05-22 06:39:18 -05:00
" success " : _ ( " Success " ) ,
2011-08-29 17:34:10 -05:00
" validation_title " : _ ( " Validation error " ) ,
" validation_message " : _ ( " Input form contains invalid or missing values. " ) ,
} ,
2012-03-09 06:31:08 -06:00
" error_report " : {
" options " : _ ( " Please try the following options: " ) ,
" problem_persists " : _ ( " If the problem persists please contact the system administrator. " ) ,
" refresh " : _ ( " Refresh the page. " ) ,
" reload " : _ ( " Reload the browser. " ) ,
" main_page " : _ ( " Return to the main page and retry the operation " ) ,
2012-09-16 11:35:56 -05:00
" title " : _ ( " An error has occurred ($ {error} ) " ) ,
2012-03-09 06:31:08 -06:00
} ,
2011-08-29 17:34:10 -05:00
" errors " : {
2011-08-31 14:47:03 -05:00
" error " : _ ( " Error " ) ,
2011-08-29 17:34:10 -05:00
" http_error " : _ ( " HTTP Error " ) ,
" internal_error " : _ ( " Internal Error " ) ,
" ipa_error " : _ ( " IPA Error " ) ,
" no_response " : _ ( " No response " ) ,
" unknown_error " : _ ( " Unknown Error " ) ,
" url " : _ ( " URL " ) ,
} ,
" facet_groups " : {
" managedby " : _ ( " $ {primary_key} is managed by: " ) ,
2011-10-24 19:20:14 -05:00
" member " : _ ( " $ {primary_key} members: " ) ,
" memberof " : _ ( " $ {primary_key} is a member of: " ) ,
2011-08-29 17:34:10 -05:00
} ,
" facets " : {
" details " : _ ( " Settings " ) ,
" search " : _ ( " Search " ) ,
} ,
" false " : _ ( " False " ) ,
2014-10-17 08:30:34 -05:00
" keytab " : {
" add_create " : _ ( " Allow $ {other_entity} to create keytab of $ {primary_key} " ) ,
" add_retrive " : _ ( " Allow $ {other_entity} to retrieve keytab of $ {primary_key} " ) ,
" allowed_to_create " : _ ( " Allowed to create keytab " ) ,
" allowed_to_retrieve " : _ ( " Allowed to retrieve keytab " ) ,
" remove_create " : _ ( " Disallow $ {other_entity} to create keytab of $ {primary_key} " ) ,
" remove_retrieve " : _ ( " Disallow $ {other_entity} to retrieve keytab of $ {primary_key} " ) ,
} ,
2013-03-22 11:54:12 -05:00
" krbauthzdata " : {
" inherited " : _ ( " Inherited from server configuration " ) ,
" mspac " : _ ( " MS-PAC " ) ,
" override " : _ ( " Override inherited settings " ) ,
" pad " : _ ( " PAD " ) ,
} ,
2011-08-29 17:34:10 -05:00
" login " : {
2014-07-24 11:32:25 -05:00
" form_auth " : _ ( " <i class= \" fa fa-info-circle \" ></i> To login with <strong>username and password</strong>, enter them in the corresponding fields, then click Login. " ) ,
2012-02-24 08:31:55 -06:00
" header " : _ ( " Logged In As " ) ,
2014-07-24 11:32:25 -05:00
" krb_auth_msg " : _ ( " <i class= \" fa fa-info-circle \" ></i> To login with <strong>Kerberos</strong>, please make sure you have valid tickets (obtainable via kinit) and <a href= ' http://$ {host} /ipa/config/unauthorized.html ' >configured</a> the browser correctly, then click Login. " ) ,
2012-02-27 08:31:20 -06:00
" login " : _ ( " Login " ) ,
2012-02-24 08:31:55 -06:00
" logout " : _ ( " Logout " ) ,
" logout_error " : _ ( " Logout error " ) ,
2012-02-27 08:31:20 -06:00
" password " : _ ( " Password " ) ,
2014-06-04 09:23:46 -05:00
" sync_otp_token " : _ ( " Sync OTP Token " ) ,
2012-02-27 08:31:20 -06:00
" username " : _ ( " Username " ) ,
2011-08-29 17:34:10 -05:00
} ,
2012-07-09 09:58:00 -05:00
" measurement_units " : {
" number_of_passwords " : _ ( " number of passwords " ) ,
" seconds " : _ ( " seconds " ) ,
} ,
2011-02-18 00:02:51 -06:00
" objects " : {
" aci " : {
2011-08-29 17:34:10 -05:00
" attribute " : _ ( " Attribute " ) ,
} ,
2012-02-03 04:37:09 -06:00
" automember " : {
" add_condition " : _ ( " Add Condition into $ {pkey} " ) ,
" add_rule " : _ ( " Add Rule " ) ,
" attribute " : _ ( " Attribute " ) ,
" default_host_group " : _ ( " Default host group " ) ,
" default_user_group " : _ ( " Default user group " ) ,
" exclusive " : _ ( " Exclusive " ) ,
" expression " : _ ( " Expression " ) ,
" hostgrouprule " : _ ( " Host group rule " ) ,
" hostgrouprules " : _ ( " Host group rules " ) ,
" inclusive " : _ ( " Inclusive " ) ,
" usergrouprule " : _ ( " User group rule " ) ,
" usergrouprules " : _ ( " User group rules " ) ,
} ,
2011-08-29 17:34:10 -05:00
" automountkey " : {
} ,
2011-02-18 00:02:51 -06:00
" automountlocation " : {
2011-08-29 17:34:10 -05:00
" identity " : _ ( " Automount Location Settings " )
} ,
2011-05-06 16:04:09 -05:00
" automountmap " : {
2011-08-29 17:34:10 -05:00
" map_type " : _ ( " Map Type " ) ,
" direct " : _ ( " Direct " ) ,
" indirect " : _ ( " Indirect " ) ,
} ,
2011-02-18 00:02:51 -06:00
" cert " : {
2011-08-29 17:34:10 -05:00
" aa_compromise " : _ ( " AA Compromise " ) ,
" affiliation_changed " : _ ( " Affiliation Changed " ) ,
" ca_compromise " : _ ( " CA Compromise " ) ,
2013-02-22 10:22:30 -06:00
" certificate " : _ ( " Certificate " ) ,
" certificates " : _ ( " Certificates " ) ,
2011-08-29 17:34:10 -05:00
" certificate_hold " : _ ( " Certificate Hold " ) ,
" cessation_of_operation " : _ ( " Cessation of Operation " ) ,
" common_name " : _ ( " Common Name " ) ,
" expires_on " : _ ( " Expires On " ) ,
2013-02-22 10:12:53 -06:00
" find_issuedon_from " : _ ( " Issued on from " ) ,
" find_issuedon_to " : _ ( " Issued on to " ) ,
" find_max_serial_number " : _ ( " Maximum serial number " ) ,
" find_min_serial_number " : _ ( " Minimum serial number " ) ,
" find_revocation_reason " : _ ( " Revocation reason " ) ,
" find_revokedon_from " : _ ( " Revoked on from " ) ,
" find_revokedon_to " : _ ( " Revoked on to " ) ,
" find_subject " : _ ( " Subject " ) ,
" find_validnotafter_from " : _ ( " Valid not after from " ) ,
" find_validnotafter_to " : _ ( " Valid not after to " ) ,
" find_validnotbefore_from " : _ ( " Valid not before from " ) ,
" find_validnotbefore_to " : _ ( " Valid not before to " ) ,
2011-08-29 17:34:10 -05:00
" fingerprints " : _ ( " Fingerprints " ) ,
2014-05-13 10:27:39 -05:00
" get_certificate " : _ ( " Get Certificate " ) ,
2011-08-29 17:34:10 -05:00
" issue_certificate " : _ ( " Issue New Certificate for $ {entity} $ {primary_key} " ) ,
" issued_by " : _ ( " Issued By " ) ,
" issued_on " : _ ( " Issued On " ) ,
" issued_to " : _ ( " Issued To " ) ,
" key_compromise " : _ ( " Key Compromise " ) ,
" md5_fingerprint " : _ ( " MD5 Fingerprint " ) ,
" missing " : _ ( " No Valid Certificate " ) ,
" new_certificate " : _ ( " New Certificate " ) ,
" note " : _ ( " Note " ) ,
" organization " : _ ( " Organization " ) ,
" organizational_unit " : _ ( " Organizational Unit " ) ,
" privilege_withdrawn " : _ ( " Privilege Withdrawn " ) ,
" reason " : _ ( " Reason for Revocation " ) ,
" remove_from_crl " : _ ( " Remove from CRL " ) ,
2012-10-17 05:49:34 -05:00
" request_message " : _ ( " <ol> <li>Create a certificate database or use an existing one. To create a new database:<br/> <code># certutil -N -d <database path></code> </li> <li>Create a CSR with subject <em>CN=<hostname>,O=<realm></em>, for example:<br/> <code># certutil -R -d <database path> -a -g <key size> -s ' CN=$ {hostname} ,O=$ {realm} ' </code> </li> <li> Copy and paste the CSR (from <em>-----BEGIN NEW CERTIFICATE REQUEST-----</em> to <em>-----END NEW CERTIFICATE REQUEST-----</em>) into the text area below: </li> </ol> " ) ,
2012-08-27 03:57:47 -05:00
" requested " : _ ( " Certificate requested " ) ,
2011-08-29 17:34:10 -05:00
" restore_certificate " : _ ( " Restore Certificate for $ {entity} $ {primary_key} " ) ,
2013-02-22 10:22:30 -06:00
" restore_certificate_simple " : _ ( " Restore Certificate " ) ,
2011-08-29 17:34:10 -05:00
" restore_confirmation " : _ ( " To confirm your intention to restore this certificate, click the \" Restore \" button. " ) ,
2012-08-27 03:57:47 -05:00
" restored " : _ ( " Certificate restored " ) ,
2013-02-22 10:22:30 -06:00
" revocation_reason " : _ ( " Revocation reason " ) ,
2011-08-29 17:34:10 -05:00
" revoke_certificate " : _ ( " Revoke Certificate for $ {entity} $ {primary_key} " ) ,
2013-02-22 10:22:30 -06:00
" revoke_certificate_simple " : _ ( " Revoke Certificate " ) ,
2011-08-29 17:34:10 -05:00
" revoke_confirmation " : _ ( " To confirm your intention to revoke this certificate, select a reason from the pull-down list, and click the \" Revoke \" button. " ) ,
" revoked " : _ ( " Certificate Revoked " ) ,
" serial_number " : _ ( " Serial Number " ) ,
2012-03-06 14:53:07 -06:00
" serial_number_hex " : _ ( " Serial Number (hex) " ) ,
2011-08-29 17:34:10 -05:00
" sha1_fingerprint " : _ ( " SHA1 Fingerprint " ) ,
2013-02-22 10:22:30 -06:00
" status " : _ ( " Status " ) ,
2011-08-29 17:34:10 -05:00
" superseded " : _ ( " Superseded " ) ,
" unspecified " : _ ( " Unspecified " ) ,
" valid " : _ ( " Valid Certificate Present " ) ,
" validity " : _ ( " Validity " ) ,
" view_certificate " : _ ( " Certificate for $ {entity} $ {primary_key} " ) ,
2014-05-13 10:27:39 -05:00
" view_certificate_btn " : _ ( " View Certificate " ) ,
2011-08-29 17:34:10 -05:00
} ,
2011-02-18 00:02:51 -06:00
" config " : {
2011-08-29 17:34:10 -05:00
" group " : _ ( " Group Options " ) ,
" search " : _ ( " Search Options " ) ,
2012-02-16 10:36:05 -06:00
" selinux " : _ ( " SELinux Options " ) ,
2012-08-01 10:59:54 -05:00
" service " : _ ( " Service Options " ) ,
2011-08-29 17:34:10 -05:00
" user " : _ ( " User Options " ) ,
} ,
2011-02-18 00:02:51 -06:00
" delegation " : {
2011-08-29 17:34:10 -05:00
} ,
2012-02-15 08:00:16 -06:00
" dnsconfig " : {
2012-04-04 03:49:16 -05:00
" forward_first " : _ ( " Forward first " ) ,
2012-11-02 08:02:39 -05:00
" forward_none " : _ ( " Forwarding disabled " ) ,
2012-04-04 03:49:16 -05:00
" forward_only " : _ ( " Forward only " ) ,
2012-02-15 08:00:16 -06:00
" options " : _ ( " Options " ) ,
} ,
2011-02-18 00:02:51 -06:00
" dnsrecord " : {
2011-08-29 17:34:10 -05:00
" data " : _ ( " Data " ) ,
" deleted_no_data " : _ ( " DNS record was deleted because it contained no data. " ) ,
" other " : _ ( " Other Record Types " ) ,
2012-02-09 04:10:27 -06:00
" ptr_redir_address_err " : _ ( " Address not valid, can ' t redirect " ) ,
" ptr_redir_create " : _ ( " Create dns record " ) ,
" ptr_redir_creating " : _ ( " Creating record. " ) ,
" ptr_redir_creating_err " : _ ( " Record creation failed. " ) ,
" ptr_redir_record " : _ ( " Checking if record exists. " ) ,
" ptr_redir_record_err " : _ ( " Record not found. " ) ,
" ptr_redir_title " : _ ( " Redirection to PTR record " ) ,
" ptr_redir_zone " : _ ( " Zone found: $ {zone} " ) ,
" ptr_redir_zone_err " : _ ( " Target reverse zone not found. " ) ,
" ptr_redir_zones " : _ ( " Fetching DNS zones. " ) ,
2012-03-14 07:16:29 -05:00
" ptr_redir_zones_err " : _ ( " An error occurred while fetching dns zones. " ) ,
2011-08-29 17:34:10 -05:00
" redirection_dnszone " : _ ( " You will be redirected to DNS Zone. " ) ,
" standard " : _ ( " Standard Record Types " ) ,
" title " : _ ( " Records for DNS Zone " ) ,
" type " : _ ( " Record Type " ) ,
} ,
" dnszone " : {
" identity " : _ ( " DNS Zone Settings " ) ,
2012-07-03 07:18:03 -05:00
" add_permission " : _ ( " Add Permission " ) ,
2014-06-24 03:39:16 -05:00
" add_permission_confirm " : _ ( " Are you sure you want to add permission for DNS Zone $ {object} ? " ) ,
2012-07-03 07:18:03 -05:00
" remove_permission " : _ ( " Remove Permission " ) ,
2014-06-24 03:39:16 -05:00
" remove_permission_confirm " : _ ( " Are you sure you want to remove permission for DNS Zone $ {object} ? " ) ,
2014-10-03 11:24:33 -05:00
" skip_dns_check " : _ ( " Skip DNS check " ) ,
" soamname_change_message " : _ ( " Do you want to check if new authoritative nameserver address is in DNS " ) ,
" soamname_change_title " : _ ( " Authoritative nameserver change " ) ,
2011-08-29 17:34:10 -05:00
} ,
2015-04-21 08:50:54 -05:00
" domainlevel " : {
" label " : _ ( " Domain Level " ) ,
" label_singular " : _ ( " Domain Level " ) ,
" ipadomainlevel " : _ ( " Level " ) ,
" set " : _ ( " Set Domain Level " ) ,
} ,
2011-02-18 00:02:51 -06:00
" group " : {
2011-08-29 17:34:10 -05:00
" details " : _ ( " Group Settings " ) ,
2012-07-30 06:31:11 -05:00
" external " : _ ( " External " ) ,
2012-07-30 07:30:31 -05:00
" make_external " : _ ( " Change to external group " ) ,
2012-07-30 07:32:54 -05:00
" make_posix " : _ ( " Change to POSIX group " ) ,
2012-07-30 06:31:11 -05:00
" normal " : _ ( " Normal " ) ,
" posix " : _ ( " POSIX " ) ,
" type " : _ ( " Group Type " ) ,
2011-08-29 17:34:10 -05:00
} ,
2011-02-18 00:02:51 -06:00
" hbacrule " : {
2011-08-29 17:34:10 -05:00
" any_host " : _ ( " Any Host " ) ,
" any_service " : _ ( " Any Service " ) ,
" anyone " : _ ( " Anyone " ) ,
" host " : _ ( " Accessing " ) ,
" ipaenabledflag " : _ ( " Rule status " ) ,
" service " : _ ( " Via Service " ) ,
" specified_hosts " : _ ( " Specified Hosts and Groups " ) ,
" specified_services " : _ ( " Specified Services and Groups " ) ,
" specified_users " : _ ( " Specified Users and Groups " ) ,
" user " : _ ( " Who " ) ,
} ,
2011-02-18 00:02:51 -06:00
" hbacsvc " : {
2011-08-29 17:34:10 -05:00
} ,
2011-02-18 00:02:51 -06:00
" hbacsvcgroup " : {
2011-08-29 17:34:10 -05:00
" services " : _ ( " Services " ) ,
} ,
2011-11-16 15:13:32 -06:00
" hbactest " : {
2011-12-07 02:46:08 -06:00
" access_denied " : _ ( " Access Denied " ) ,
" access_granted " : _ ( " Access Granted " ) ,
" include_disabled " : _ ( " Include Disabled " ) ,
" include_enabled " : _ ( " Include Enabled " ) ,
2011-11-16 15:13:32 -06:00
" label " : _ ( " HBAC Test " ) ,
2011-12-07 02:46:08 -06:00
" matched " : _ ( " Matched " ) ,
2012-03-12 08:13:11 -05:00
" missing_values " : _ ( " Missing values: " ) ,
2011-12-07 02:46:08 -06:00
" new_test " : _ ( " New Test " ) ,
" rules " : _ ( " Rules " ) ,
" run_test " : _ ( " Run Test " ) ,
" specify_external " : _ ( " Specify external $ {entity} " ) ,
" unmatched " : _ ( " Unmatched " ) ,
2011-11-16 15:13:32 -06:00
} ,
2011-02-18 00:02:51 -06:00
" host " : {
2011-08-29 17:34:10 -05:00
" certificate " : _ ( " Host Certificate " ) ,
" cn " : _ ( " Host Name " ) ,
" delete_key_unprovision " : _ ( " Delete Key, Unprovision " ) ,
" details " : _ ( " Host Settings " ) ,
2012-02-10 11:29:57 -06:00
" enrolled " : _ ( " Enrolled " ) ,
2011-08-29 17:34:10 -05:00
" enrollment " : _ ( " Enrollment " ) ,
" fqdn " : _ ( " Fully Qualified Host Name " ) ,
" keytab " : _ ( " Kerberos Key " ) ,
" keytab_missing " : _ ( " Kerberos Key Not Present " ) ,
" keytab_present " : _ ( " Kerberos Key Present, Host Provisioned " ) ,
" password " : _ ( " One-Time-Password " ) ,
" password_missing " : _ ( " One-Time-Password Not Present " ) ,
" password_present " : _ ( " One-Time-Password Present " ) ,
" password_reset_button " : _ ( " Reset OTP " ) ,
" password_reset_title " : _ ( " Reset One-Time-Password " ) ,
" password_set_button " : _ ( " Set OTP " ) ,
2012-08-27 03:57:47 -05:00
" password_set_success " : _ ( " OTP set " ) ,
2011-08-29 17:34:10 -05:00
" password_set_title " : _ ( " Set One-Time-Password " ) ,
" status " : _ ( " Status " ) ,
" unprovision " : _ ( " Unprovision " ) ,
" unprovision_confirmation " : _ ( " Are you sure you want to unprovision this host? " ) ,
" unprovision_title " : _ ( " Unprovisioning $ {entity} " ) ,
2012-08-27 03:57:47 -05:00
" unprovisioned " : _ ( " Host unprovisioned " ) ,
2011-08-29 17:34:10 -05:00
} ,
2011-02-18 00:02:51 -06:00
" hostgroup " : {
2011-08-29 17:34:10 -05:00
" identity " : _ ( " Host Group Settings " ) ,
} ,
2014-09-03 07:45:05 -05:00
" idoverrideuser " : {
" anchor_label " : _ ( " User to override " ) ,
" anchor_tooltip " : _ ( " Enter trusted or IPA user login. Note: search doesn ' t list users from trusted domains. " ) ,
2014-10-10 03:50:56 -05:00
" anchor_tooltip_ad " : _ ( " Enter trusted user login. " ) ,
2014-09-03 07:45:05 -05:00
} ,
" idoverridegroup " : {
" anchor_label " : _ ( " Group to override " ) ,
" anchor_tooltip " : _ ( " Enter trusted or IPA group name. Note: search doesn ' t list groups from trusted domains. " ) ,
2014-10-10 03:50:56 -05:00
" anchor_tooltip_ad " : _ ( " Enter trusted group name. " ) ,
2014-09-03 07:45:05 -05:00
} ,
" idview " : {
2014-09-25 08:50:41 -05:00
" appliesto_tab " : _ ( " $ {primary_key} applies to: " ) ,
2014-09-03 07:45:05 -05:00
" appliedtohosts " : _ ( " Applied to hosts " ) ,
" appliedtohosts_title " : _ ( " Applied to hosts " ) ,
" apply_hostgroups " : _ ( " Apply to host groups " ) ,
" apply_hostgroups_title " : _ ( " Apply ID View $ {primary_key} on hosts of $ {entity} " ) ,
" apply_hosts " : _ ( " Apply to hosts " ) ,
" apply_hosts_title " : _ ( " Apply ID view $ {primary_key} on $ {entity} " ) ,
2014-09-26 10:21:00 -05:00
" ipaassignedidview " : _ ( " Assigned ID View " ) ,
2014-09-25 08:50:41 -05:00
" overrides_tab " : _ ( " $ {primary_key} overrides: " ) ,
2014-09-03 07:45:05 -05:00
" unapply_hostgroups " : _ ( " Un-apply from host groups " ) ,
" unapply_hostgroups_all_title " : _ ( " Un-apply ID Views from hosts of hostgroups " ) ,
" unapply_hostgroups_title " : _ ( " Un-apply ID View $ {primary_key} from hosts of $ {entity} " ) ,
" unapply_hosts " : _ ( " Un-apply " ) ,
" unapply_hosts_all " : _ ( " Un-apply from hosts " ) ,
" unapply_hosts_all_title " : _ ( " Un-apply ID Views from hosts " ) ,
" unapply_hosts_confirm " : _ ( " Are you sure you want to un-apply ID view from selected entries? " ) ,
" unapply_hosts_title " : _ ( " Un-apply ID View $ {primary_key} from hosts " ) ,
} ,
2011-02-18 00:02:51 -06:00
" krbtpolicy " : {
2011-12-19 18:31:35 -06:00
" identity " : _ ( " Kerberos Ticket Policy " ) ,
2013-09-12 08:29:01 -05:00
} ,
2011-02-18 00:02:51 -06:00
" netgroup " : {
2012-03-28 10:53:17 -05:00
" any_host " : _ ( " Any Host " ) ,
" anyone " : _ ( " Anyone " ) ,
" external " : _ ( " External " ) ,
" host " : _ ( " Host " ) ,
" hostgroups " : _ ( " Host Groups " ) ,
" hosts " : _ ( " Hosts " ) ,
2011-08-29 17:34:10 -05:00
" identity " : _ ( " Netgroup Settings " ) ,
2012-03-28 10:53:17 -05:00
" specified_hosts " : _ ( " Specified Hosts and Groups " ) ,
" specified_users " : _ ( " Specified Users and Groups " ) ,
" user " : _ ( " User " ) ,
" usergroups " : _ ( " User Groups " ) ,
" users " : _ ( " Users " ) ,
2013-09-12 08:29:01 -05:00
} ,
" otptoken " : {
2014-07-28 03:27:36 -05:00
" add_token " : _ ( " Add OTP Token " ) ,
2014-08-05 10:00:01 -05:00
" app_link " : _ ( " You can use <a href= \" $ {link} \" target= \" _blank \" >FreeOTP<a/> as a software OTP token application. " ) ,
2014-07-28 09:33:39 -05:00
" config_title " : _ ( " Configure your token " ) ,
" config_instructions " : _ ( " Configure your token by scanning the QR code below. Click on the QR code if you see this on the device you want to configure. " ) ,
2014-07-24 06:10:53 -05:00
" details " : _ ( " OTP Token Settings " ) ,
" disable " : _ ( " Disable token " ) ,
" enable " : _ ( " Enable token " ) ,
2014-07-28 09:33:39 -05:00
" show_qr " : _ ( " Show QR code " ) ,
" show_uri " : _ ( " Show configuration uri " ) ,
2014-07-24 06:10:53 -05:00
" type_hotp " : _ ( " Counter-based (HOTP) " ) ,
" type_totp " : _ ( " Time-based (TOTP) " ) ,
2013-09-12 08:29:01 -05:00
} ,
2011-02-18 00:02:51 -06:00
" permission " : {
2014-07-09 06:39:14 -05:00
" add_custom_attr " : _ ( " Add custom attribute " ) ,
" attribute " : _ ( " Attribute " ) ,
2014-07-04 06:33:10 -05:00
" filter " : _ ( " Filter " ) ,
2014-03-14 07:50:00 -05:00
" identity " : _ ( " Permission settings " ) ,
" managed " : _ ( " Attribute breakdown " ) ,
2011-08-29 17:34:10 -05:00
" target " : _ ( " Target " ) ,
} ,
2011-02-18 00:02:51 -06:00
" privilege " : {
2011-08-29 17:34:10 -05:00
" identity " : _ ( " Privilege Settings " ) ,
} ,
2011-02-18 00:02:51 -06:00
" pwpolicy " : {
2011-08-29 17:34:10 -05:00
" identity " : _ ( " Password Policy " ) ,
} ,
2012-08-23 07:17:34 -05:00
" idrange " : {
2012-08-03 09:18:27 -05:00
" details " : _ ( " Range Settings " ) ,
" ipabaseid " : _ ( " Base ID " ) ,
" ipabaserid " : _ ( " Primary RID base " ) ,
" ipaidrangesize " : _ ( " Range size " ) ,
" ipanttrusteddomainsid " : _ ( " Domain SID " ) ,
" ipasecondarybaserid " : _ ( " Secondary RID base " ) ,
" type " : _ ( " Range type " ) ,
" type_ad " : _ ( " Active Directory domain " ) ,
2013-07-16 11:40:02 -05:00
" type_ad_posix " : _ ( " Active Directory domain with POSIX attributes " ) ,
2013-08-15 05:31:32 -05:00
" type_detect " : _ ( " Detect " ) ,
2012-08-03 09:18:27 -05:00
" type_local " : _ ( " Local domain " ) ,
2013-07-16 11:40:02 -05:00
" type_ipa " : _ ( " IPA trust " ) ,
" type_winsync " : _ ( " Active Directory winsync " ) ,
2012-08-03 09:18:27 -05:00
} ,
2013-09-13 07:07:22 -05:00
" radiusproxy " : {
" details " : _ ( " RADIUS Proxy Server Settings " ) ,
} ,
2013-03-07 07:12:49 -06:00
" realmdomains " : {
" identity " : _ ( " Realm Domains " ) ,
" check_dns " : _ ( " Check DNS " ) ,
" check_dns_confirmation " : _ ( " Do you also want to perform DNS check? " ) ,
" force_update " : _ ( " Force Update " ) ,
} ,
2011-02-18 00:02:51 -06:00
" role " : {
2011-08-29 17:34:10 -05:00
" identity " : _ ( " Role Settings " ) ,
} ,
2011-02-18 00:02:51 -06:00
" selfservice " : {
2011-08-29 17:34:10 -05:00
} ,
2012-01-13 08:34:55 -06:00
" selinuxusermap " : {
" any_host " : _ ( " Any Host " ) ,
" anyone " : _ ( " Anyone " ) ,
" host " : _ ( " Host " ) ,
" specified_hosts " : _ ( " Specified Hosts and Groups " ) ,
" specified_users " : _ ( " Specified Users and Groups " ) ,
" user " : _ ( " User " ) ,
} ,
2011-02-18 00:02:51 -06:00
" service " : {
2011-08-29 17:34:10 -05:00
" certificate " : _ ( " Service Certificate " ) ,
" delete_key_unprovision " : _ ( " Delete Key, Unprovision " ) ,
" details " : _ ( " Service Settings " ) ,
" host " : _ ( " Host Name " ) ,
" missing " : _ ( " Kerberos Key Not Present " ) ,
" provisioning " : _ ( " Provisioning " ) ,
" service " : _ ( " Service " ) ,
" status " : _ ( " Status " ) ,
" unprovision " : _ ( " Unprovision " ) ,
" unprovision_confirmation " : _ ( " Are you sure you want to unprovision this service? " ) ,
" unprovision_title " : _ ( " Unprovisioning $ {entity} " ) ,
2012-08-27 03:57:47 -05:00
" unprovisioned " : _ ( " Service unprovisioned " ) ,
2011-08-29 17:34:10 -05:00
" valid " : _ ( " Kerberos Key Present, Service Provisioned " ) ,
2011-02-18 00:02:51 -06:00
} ,
2012-02-06 07:52:09 -06:00
" sshkeystore " : {
" keys " : _ ( " SSH public keys " ) ,
2012-09-05 02:27:21 -05:00
" set_dialog_help " : _ ( " SSH public key: " ) ,
2012-02-06 07:52:09 -06:00
" set_dialog_title " : _ ( " Set SSH key " ) ,
" show_set_key " : _ ( " Show/Set key " ) ,
" status_mod_ns " : _ ( " Modified: key not set " ) ,
" status_mod_s " : _ ( " Modified " ) ,
" status_new_ns " : _ ( " New: key not set " ) ,
" status_new_s " : _ ( " New: key set " ) ,
} ,
2015-04-22 07:57:26 -05:00
" stageuser " : {
" activate_confirm " : _ ( " Are you sure you want to activate selected users? " ) ,
" activate_success " : _ ( " $ {count} user(s) activated " ) ,
" label " : _ ( " Stage users " ) ,
" preserved_label " : _ ( " Preserved users " ) ,
" undel_confirm " : _ ( " Are you sure you want to restore selected users? " ) ,
" undel_success " : _ ( " $ {count} user(s) restored " ) ,
" user_categories " : _ ( " User categories " ) ,
} ,
2011-08-29 17:34:10 -05:00
" sudocmd " : {
" groups " : _ ( " Groups " ) ,
2011-02-18 00:02:51 -06:00
} ,
2011-08-29 17:34:10 -05:00
" sudocmdgroup " : {
" commands " : _ ( " Commands " ) ,
2010-09-24 19:48:23 -05:00
} ,
2011-08-29 17:34:10 -05:00
" sudorule " : {
" allow " : _ ( " Allow " ) ,
" any_command " : _ ( " Any Command " ) ,
" any_group " : _ ( " Any Group " ) ,
" any_host " : _ ( " Any Host " ) ,
" anyone " : _ ( " Anyone " ) ,
" command " : _ ( " Run Commands " ) ,
" deny " : _ ( " Deny " ) ,
" external " : _ ( " External " ) ,
" host " : _ ( " Access this host " ) ,
" ipaenabledflag " : _ ( " Rule status " ) ,
2012-08-29 10:35:07 -05:00
" option_added " : _ ( " Option added " ) ,
2013-05-15 10:33:21 -05:00
" option_removed " : _ ( " $ {count} option(s) removed " ) ,
2011-08-29 17:34:10 -05:00
" options " : _ ( " Options " ) ,
" runas " : _ ( " As Whom " ) ,
" specified_commands " : _ ( " Specified Commands and Groups " ) ,
" specified_groups " : _ ( " Specified Groups " ) ,
" specified_hosts " : _ ( " Specified Hosts and Groups " ) ,
" specified_users " : _ ( " Specified Users and Groups " ) ,
" user " : _ ( " Who " ) ,
2011-05-13 20:05:35 -05:00
} ,
2015-04-21 08:50:54 -05:00
" topology " : {
" segment_details " : _ ( " Segment details " ) ,
" replication_config " : _ ( " Replication configuration " ) ,
} ,
2012-06-13 10:44:36 -05:00
" trust " : {
" account " : _ ( " Account " ) ,
" admin_account " : _ ( " Administrative account " ) ,
2013-02-08 08:09:44 -06:00
" blacklists " : _ ( " SID blacklists " ) ,
2012-06-13 10:44:36 -05:00
" details " : _ ( " Trust Settings " ) ,
" domain " : _ ( " Domain " ) ,
" establish_using " : _ ( " Establish using " ) ,
2014-01-15 11:01:02 -06:00
" fetch_domains " : _ ( " Fetch domains " ) ,
2012-06-13 10:44:36 -05:00
" ipantflatname " : _ ( " Domain NetBIOS name " ) ,
" ipanttrusteddomainsid " : _ ( " Domain Security Identifier " ) ,
" preshared_password " : _ ( " Pre-shared password " ) ,
" trustdirection " : _ ( " Trust direction " ) ,
" truststatus " : _ ( " Trust status " ) ,
" trusttype " : _ ( " Trust type " ) ,
} ,
2013-02-11 05:56:35 -06:00
" trustconfig " : {
" options " : _ ( " Options " ) ,
} ,
2011-08-29 17:34:10 -05:00
" user " : {
" account " : _ ( " Account Settings " ) ,
" account_status " : _ ( " Account Status " ) ,
2015-04-22 07:57:26 -05:00
" activeuser_label " : _ ( " Active users " ) ,
2011-08-29 17:34:10 -05:00
" contact " : _ ( " Contact Settings " ) ,
" employee " : _ ( " Employee Information " ) ,
" error_changing_status " : _ ( " Error changing account status " ) ,
2012-01-31 13:41:28 -06:00
" krbpasswordexpiration " : _ ( " Password expiration " ) ,
2011-08-29 17:34:10 -05:00
" mailing " : _ ( " Mailing Address " ) ,
" misc " : _ ( " Misc. Information " ) ,
2015-05-12 10:34:39 -05:00
" noprivate " : _ ( " No private group " ) ,
2012-01-18 21:54:41 -06:00
" status_confirmation " : _ ( " Are you sure you want to $ {action} the user?<br/>The change will take effect immediately. " ) ,
" status_link " : _ ( " Click to $ {action} " ) ,
2014-06-24 05:24:23 -05:00
" unlock " : _ ( " Unlock " ) ,
" unlock_confirm " : _ ( " Are you sure you want to unlock user $ {object} ? " ) ,
2011-01-14 14:14:32 -06:00
} ,
2011-08-29 17:34:10 -05:00
} ,
2011-08-23 21:51:31 -05:00
" password " : {
2011-11-04 13:48:22 -05:00
" current_password " : _ ( " Current Password " ) ,
" current_password_required " : _ ( " Current password is required " ) ,
2012-06-26 09:19:58 -05:00
" expires_in " : _ ( " Your password expires in $ {days} days. " ) ,
2014-06-03 11:21:25 -05:00
" first_otp " : _ ( " First OTP " ) ,
2012-06-08 08:02:25 -05:00
" invalid_password " : _ ( " The password or username you entered is incorrect. " ) ,
2011-08-29 17:34:10 -05:00
" new_password " : _ ( " New Password " ) ,
2012-05-03 03:48:23 -05:00
" new_password_required " : _ ( " New password is required " ) ,
2014-05-22 07:48:22 -05:00
" otp " : _ ( " OTP " ) ,
2014-07-24 11:32:25 -05:00
" otp_info " : _ ( " <i class= \" fa fa-info-circle \" ></i> <strong>One-Time-Password(OTP):</strong> Generate new OTP code for each OTP field. " ) ,
2014-05-22 07:48:22 -05:00
" otp_long " : _ ( " One-Time-Password " ) ,
2014-06-03 11:21:25 -05:00
" otp_sync_fail " : _ ( " Token synchronization failed " ) ,
" otp_sync_invalid " : _ ( " The username, password or token codes are not correct " ) ,
" otp_sync_success " : _ ( " Token was synchronized " ) ,
2012-06-13 10:44:36 -05:00
" password " : _ ( " Password " ) ,
2014-05-22 07:48:22 -05:00
" password_and_otp " : _ ( " Password or Password+One-Time-Password " ) ,
2011-08-29 17:34:10 -05:00
" password_change_complete " : _ ( " Password change complete " ) ,
" password_must_match " : _ ( " Passwords must match " ) ,
2012-06-08 08:02:25 -05:00
" reset_failure " : _ ( " Password reset was not successful. " ) ,
2011-08-29 17:34:10 -05:00
" reset_password " : _ ( " Reset Password " ) ,
2012-06-26 09:19:58 -05:00
" reset_password_sentence " : _ ( " Reset your password. " ) ,
2014-06-03 11:21:25 -05:00
" second_otp " : _ ( " Second OTP " ) ,
" token_id " : _ ( " Token ID " ) ,
2011-08-29 17:34:10 -05:00
" verify_password " : _ ( " Verify Password " ) ,
} ,
2011-06-30 13:33:33 -05:00
" search " : {
2011-08-29 17:34:10 -05:00
" delete_confirm " : _ ( " Are you sure you want to delete selected entries? " ) ,
2013-05-15 10:33:21 -05:00
" deleted " : _ ( " $ {count} item(s) deleted " ) ,
2012-09-03 09:43:13 -05:00
" disable_confirm " : _ ( " Are you sure you want to disable selected entries? " ) ,
2013-05-15 10:33:21 -05:00
" disabled " : _ ( " $ {count} item(s) disabled " ) ,
2012-09-03 09:43:13 -05:00
" enable_confirm " : _ ( " Are you sure you want to enable selected entries? " ) ,
2013-05-15 10:33:21 -05:00
" enabled " : _ ( " $ {count} item(s) enabled " ) ,
2011-08-29 17:34:10 -05:00
" partial_delete " : _ ( " Some entries were not deleted " ) ,
2014-05-13 05:39:13 -05:00
" placeholder " : _ ( " Search " ) ,
2011-08-29 17:34:10 -05:00
" quick_links " : _ ( " Quick Links " ) ,
" select_all " : _ ( " Select All " ) ,
" truncated " : _ ( " Query returned more results than the configured size limit. Displaying the first $ {counter} results. " ) ,
" unselect_all " : _ ( " Unselect All " ) ,
} ,
2012-01-18 21:54:41 -06:00
" status " : {
" disable " : _ ( " Disable " ) ,
" disabled " : _ ( " Disabled " ) ,
" enable " : _ ( " Enable " ) ,
" enabled " : _ ( " Enabled " ) ,
" label " : _ ( " Status " ) ,
2014-04-17 02:07:10 -05:00
" working " : _ ( " Working " ) ,
2012-01-18 21:54:41 -06:00
} ,
2011-01-25 18:39:08 -06:00
" tabs " : {
" audit " : _ ( " Audit " ) ,
2014-07-02 08:09:22 -05:00
" authentication " : _ ( " Authentication " ) ,
2012-02-03 04:37:09 -06:00
" automember " : _ ( " Automember " ) ,
2011-08-29 17:34:10 -05:00
" automount " : _ ( " Automount " ) ,
2013-02-22 10:22:30 -06:00
" cert " : _ ( " Certificates " ) ,
2011-08-29 17:34:10 -05:00
" dns " : _ ( " DNS " ) ,
" hbac " : _ ( " Host Based Access Control " ) ,
" identity " : _ ( " Identity " ) ,
" ipaserver " : _ ( " IPA Server " ) ,
2014-07-02 08:09:22 -05:00
" network_services " : _ ( " Network Services " ) ,
2011-08-29 17:34:10 -05:00
" policy " : _ ( " Policy " ) ,
" role " : _ ( " Role Based Access Control " ) ,
" sudo " : _ ( " Sudo " ) ,
2015-04-21 08:50:54 -05:00
" topology " : _ ( " Topology " ) ,
2013-02-11 05:56:35 -06:00
" trust " : _ ( " Trusts " ) ,
2011-08-29 17:34:10 -05:00
} ,
" true " : _ ( " True " ) ,
2011-06-30 13:33:33 -05:00
" widget " : {
2014-04-17 07:20:59 -05:00
" first " : _ ( " First " ) ,
" last " : _ ( " Last " ) ,
2011-08-29 17:34:10 -05:00
" next " : _ ( " Next " ) ,
" page " : _ ( " Page " ) ,
" prev " : _ ( " Prev " ) ,
2014-06-27 06:59:11 -05:00
" undo " : _ ( " Undo " ) ,
" undo_all " : _ ( " Undo All " ) ,
2011-06-30 13:33:33 -05:00
" validation " : {
2011-08-29 17:34:10 -05:00
" error " : _ ( " Text does not match field pattern " ) ,
2014-01-10 10:28:27 -06:00
" datetime " : _ ( " Must be an UTC date/time value (e.g., \" 2014-01-20 17:58:01Z \" ) " ) ,
2012-09-05 07:45:26 -05:00
" decimal " : _ ( " Must be a decimal number " ) ,
2013-11-13 08:49:25 -06:00
" format " : _ ( " Format error " ) ,
2011-08-29 17:34:10 -05:00
" integer " : _ ( " Must be an integer " ) ,
2012-01-02 09:55:51 -06:00
" ip_address " : _ ( ' Not a valid IP address ' ) ,
" ip_v4_address " : _ ( ' Not a valid IPv4 address ' ) ,
" ip_v6_address " : _ ( ' Not a valid IPv6 address ' ) ,
2011-08-29 17:34:10 -05:00
" max_value " : _ ( " Maximum value is $ {value} " ) ,
" min_value " : _ ( " Minimum value is $ {value} " ) ,
2012-02-09 10:21:09 -06:00
" net_address " : _ ( " Not a valid network address " ) ,
2013-11-13 08:49:25 -06:00
" parse " : _ ( " Parse error " ) ,
2012-03-07 07:42:59 -06:00
" port " : _ ( " ' $ {port} ' is not a valid port " ) ,
2011-08-29 17:34:10 -05:00
" required " : _ ( " Required field " ) ,
2012-02-23 06:54:07 -06:00
" unsupported " : _ ( " Unsupported value " ) ,
2011-01-26 19:58:06 -06:00
} ,
2011-08-29 17:34:10 -05:00
} ,
}
2010-08-13 16:56:16 -05:00
has_output = (
2012-12-13 10:42:06 -06:00
Output ( ' texts ' , dict , doc = _ ( ' Dict of I18N messages ' ) ) ,
2010-08-13 16:56:16 -05:00
)
2012-06-21 07:20:26 -05:00
def execute ( self , * * options ) :
2012-12-13 10:42:06 -06:00
return dict ( texts = json_serialize ( self . messages ) )
2010-08-13 16:56:16 -05:00
def output_for_cli ( self , textui , result , * args , * * options ) :
print json . dumps ( result , default = json_serialize )