Xc @sdZddkZddklZlZddklZddklZddklZddk l Z ddk l Z d efd YZ eie d efd YZeiedS( sK Plugins not accessible directly through the CLI, commands used internally iN(tapiterrors(tCommand(tStr(tOutput(t_(tjson_serializet json_metadatacBseZdZeZeddededdedfZeddededdededded fZe d e ded e d e ded e de dedfZ dZ dZ RS(s0 Export plugin meta-data for the webUI. sobjname?tdocsName of object to exports methodname?sName of method to exportsobject?smethod?scommand?sName of command to exporttobjectss Dict of JSON encoded IPA Objectstmethodss Dict of JSON encoded IPA Methodstcommandss!Dict of JSON encoded IPA Commandsc Kst}t}t}t}y|p|d}n||iijo2|ii|}t|it|fg}n1|djo#td|iiD}nt}Wntj onXy|p|d}n||iijo2|ii|} t| it| fg}n1|djo#td|iiD}nt}Wntj onXy|d} | |ii jo2|ii | } t| it| fg}n1| djo#td|ii D}nt}Wntj onX|oatd|iiD}td |iiD}td |ii D}ntd |fd |fd |fg} | S(Ntobjecttallcss(x!|]}|it|fVqWdS(N(tnameR(t.0to((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pys Ts tmethodcss(x!|]}|it|fVqWdS(N(RR(Rtm((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pys bs tcommandcss(x!|]}|it|fVqWdS(N(RR(Rtc((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pys os css(x!|]}|it|fVqWdS(N(RR(RR((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pys ws css(x!|]}|it|fVqWdS(N(RR(RR((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pys zs css(x!|]}|it|fVqWdS(N(RR(RR((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pys }s R R R ( tdicttTrueRtObjectRRtFalsetKeyErrortMethodR( tselftobjnamet methodnametoptionsR R R temptyRRtcmdnameRtretval((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pytexecuteEsf   "   "    "      cOsti|dtGHdS(Ntdefault(tjsontdumpsR(RttextuitresulttargsR((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pytoutput_for_clis(t__name__t __module__t__doc__RtNO_CLIRRt takes_argst takes_optionsRRt has_outputR"R)(((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pyR#s"         Ct i18n_messagescBseZeZhhhedd6d6d6hedd6edd6edd 6ed d 6ed d 6edd6d6h hedd6edd6edd6edd6edd6edd6edd6d6ed d!6ed"d#6ed$d%6ed&d'6ed(d)6hed*d6ed+d6ed,d6ed-d6ed.d6ed/d6ed0d6d16ed2d36ed4d56d66hed7d6ed8d96ed:d;6ed<d=6ed>d?6ed@dA6edBdC6edDdE6edFdG6edHdI6edJdK6edLdM6edNdO6edPdQ6edRdS6edTdU6edVd16edWdX6edYdZ6ed[d\6ed]d^6ed_d`6edadb6edcdd6ededf6dg6hedhdi6edjdk6edldm6edndo6edpdq6edrds6edtdu6dv6hedwdx6edydz6ed{d|6ed}d~6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6d6hedd6edd6eddU6edd6edd6edd6d6hedd6edd6edd6edd6edd6edd6edd6d6hedd6edd6edd6d6heddv6edd6d6edd6hedd6edd6edd6edd6edd6edd6edd6edd6d6hedd6edd6d6h"hedd6d6h edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6d6hd6heddo6d6hedd6edd6edd6d6h&edd6edd6edd6edd6edd6edd6edd6edd6edd6edd 6ed d 6ed d 6edd6edd6edd6edd6edd6edd6edd6edd6edd6ed d!6ed"d#6ed$d%6ed&d'6ed(d)6ed*d+6ed,d-6ed.d/6ed0d16ed2d36ed4d56ed6d76ed8d96ed:d;6ed<d=6ed>d?6ed@dA6dB6hedCdD6edEd6edFdG6edHdI6edJdK6dL6hdM6hedNdO6edPdQ6edRdS6edTd6dU6hedVdW6edXdY6edZd[6ed\d]6ed^d_6ed`da6edbdc6eddde6edfdg6edhdi6edjdk6edldm6edndo6edpdq6edrds6edtdu6edvd6edwdx6dy6hedzdo6ed{d|6ed}d~6d6heddv6edd6edd6edd6edd6edd6eddx6dD6h edd6edd6edd6edd6edd6eddI6edd6edd6edd6eddK6d6hd6hedd6d6h edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6d6hedd6edd6edd6eddv6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6d6heddo6d6heddo6d6h edd6edd6edd6edd6edd6edd6eddo6edd6edd6eddK6edd6edd6d6heddo6edd6edd6edd6d6heddo6d6heddo6d6h eddv6edd6edd6ed d 6ed d 6ed d6eddx6edd6edd6d6heddo6d6hd6hedd6edd6edd6edd6edd6eddK6d6h edd6edd6eddv6edd6edd6edd6eddI6edd6edd6edd6edd6edd6ed d=6dI6hed!d"6ed#d$6ed%d&6ed'd(6ed)d*6ed+d,6ed-d.6ed/d06d16hed2d36d46hed5d66d76hed8d96ed:d;6ed<d=6edd6edd6ed>d?6ed@dA6edd6edBd6edd6edCdD6edEdF6edTd6edGdH6edIdJ6edKdL6edd6edd6eddK6dM6h edNdO6edPdQ6edRdv6edSdT6edUdV6edWdX6edYd 6edZd[6ed\d]6ed^d_6ed`da6db6h edcdO6eddde6edfdg6edhdi6edjdk6edldm6edndo6edpdq6edrds6edtdu6dK6dv6h edwdx6edydz6ed{d|6ed}d~6edd6edd6edd6edd6edd6edd6edd6edd6edd6d6h edd 6edd6edd 6edd6edd 6edd6edd6edd6edd6edd6edd6d6hedFdG6edd6edJdK6edd6edd6d6h edd6edd6edd6edd6edd6eddo6edd6edd6edd6edd6d6edd6hedd6edd6edd6edd6edd6h edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6edd6d6d6ZedededfZdZ dZ RS(s*Your session has expired. Please re-login.tmessaget401tajaxtApplytapplys1Are you sure you want to proceed with the action.tconfirms)Are you sure you want to delete ${object}tdelete_confirms*Are you sure you want to disable ${object}tdisable_confirms)Are you sure you want to enable ${object}tenable_confirmtActionsttitletactionss7Add RunAs ${other_entity} into ${entity} ${primary_key}t ipasudorunass.Add RunAs Groups into ${entity} ${primary_key}tipasudorunasgroups5Add ${other_entity} Managing ${entity} ${primary_key}t managedbys1Add ${other_entity} into ${entity} ${primary_key}tmembers7Add Allow ${other_entity} into ${entity} ${primary_key}tmemberallowcmds6Add Deny ${other_entity} into ${entity} ${primary_key}t memberdenycmds1Add ${entity} ${primary_key} into ${other_entity}tmemberoftadds Items addedtaddedsDirect Membershiptdirect_membershipsIndirect Membershiptindirect_memberships No entries.t no_entriess/Showing ${start} to ${end} of ${total} entries.tpagings:Remove RunAs ${other_entity} from ${entity} ${primary_key}s1Remove RunAs Groups from ${entity} ${primary_key}s8Remove ${other_entity} Managing ${entity} ${primary_key}s4Remove ${other_entity} from ${entity} ${primary_key}s:Remove Allow ${other_entity} from ${entity} ${primary_key}s9Remove Deny ${other_entity} from ${entity} ${primary_key}s4Remove ${entity} ${primary_key} from ${other_entity}tremoves Items removedtremoveds Show Resultst show_resultst associationtAddsAdd and Add Anothertadd_and_add_anothers Add and Closet add_and_closes Add and Editt add_and_editsAdd Manytadd_manytBacktbacktCanceltcanceltClosetclosetDisabletdisabletEdittedittEnabletenabletFindtfindtGettgettIssuetissuetOKtoktRefreshtrefreshtDeletetResettresetsReset Password and Logintreset_password_and_logintRestoretrestoretRetrytretrytRevoketrevoketSettsettUpdatetupdatetViewtviewtbuttonss Collapse Allt collapse_alls Expand Allt expand_alltGeneraltgeneralsIdentity Settingstidentitys!${entity} ${primary_key} Settingstsettingss Back to Toptto_tops ${entity} ${primary_key} updatedtupdatedtdetailss${entity} successfully addedtadd_confirmations Add ${entity}t add_titlet Availablet availablesSome operations failed.tbatch_error_messagesOperations Errortbatch_error_titlet Confirmationt confirmations5This page has unsaved changes. Please save or revert.t dirty_messagesUnsaved Changest dirty_titlesEdit ${entity}t edit_titles Hide detailst hide_detailst Prospectivet prospectivet Redirectiont redirectionsSelect entries to be removed.t remove_emptysRemove ${entity}t remove_titles Show detailst show_detailssValidation errortvalidation_titles.Input form contains invalid or missing values.tvalidation_messagetdialogss!Please try the following options:Rs@If the problem persists please contact the system administrator.tproblem_persistssRefresh the page.sReload the browser.treloads/Return to the main page and retry the operationt main_pages An error has occurred (${error})t error_reporttErrorterrors HTTP Errort http_errorsInternal Errortinternal_errors IPA Errort ipa_errors No responset no_responses Unknown Errort unknown_errortURLturlRs${primary_key} is managed by:s${primary_key} members:s${primary_key} is a member of:t facet_groupstSettingstSearchtsearchtfacetsRtfalsesUTo login with username and password, enter them in the fields below then click Login.t form_auths Logged In AstheadersTo login with Kerberos, please make sure you have valid tickets (obtainable via kinit) and configured the browser correctly, then click Login.t krb_auth_msgtLogintlogintLogouttlogouts Logout errort logout_errortPasswordtpasswordtUsernametusernamesnumber of passwordstnumber_of_passwordstsecondstmeasurement_unitst Attributet attributetacisAdd Condition into ${pkey}t add_conditionsAdd Ruletadd_rulesDefault host grouptdefault_host_groupsDefault user grouptdefault_user_groupt Exclusivet exclusivet Expressiont expressionsHost group rulet hostgrouprulesHost group rulesthostgrouprulest Inclusivet inclusivesUser group rulet usergrouprulesUser group rulestusergrouprulest automembert automountkeysAutomount Location SettingstautomountlocationsMap Typetmap_typetDirecttdirecttIndirecttindirectt automountmaps AA Compromiset aa_compromisesAffiliation Changedtaffiliation_changeds CA Compromiset ca_compromisesCertificate Holdtcertificate_holdsCessation of Operationtcessation_of_operations Common Namet common_names Expires Ont expires_ont Fingerprintst fingerprintss2Issue New Certificate for ${entity} ${primary_key}tissue_certificates Issued Byt issued_bys Issued Ont issued_ons Issued Tot issued_tosKey Compromisetkey_compromisesMD5 Fingerprinttmd5_fingerprintsNo Valid CertificatetmissingsNew Certificatetnew_certificatetNotetnotet Organizationt organizationsOrganizational Unittorganizational_unitsPrivilege Withdrawntprivilege_withdrawnsReason for RevocationtreasonsRemove from CRLtremove_from_crls
  1. Create a certificate database or use an existing one. To create a new database:
    # certutil -N -d <database path>
  2. Create a CSR with subject CN=<hostname>,O=<realm>, for example:
    # certutil -R -d <database path> -a -g <key size> -s 'CN=${hostname},O=${realm}'
  3. Copy and paste the CSR (from -----BEGIN NEW CERTIFICATE REQUEST----- to -----END NEW CERTIFICATE REQUEST-----) into the text area below:
trequest_messagesCertificate requestedt requesteds0Restore Certificate for ${entity} ${primary_key}trestore_certificatesRTo confirm your intention to restore this certificate, click the "Restore" button.trestore_confirmationsCertificate restoredtrestoreds/Revoke Certificate for ${entity} ${primary_key}trevoke_certificates}To confirm your intention to revoke this certificate, select a reason from the pull-down list, and click the "Revoke" button.trevoke_confirmationsCertificate Revokedtrevokeds Serial Numbert serial_numbersSerial Number (hex)tserial_number_hexsSHA1 Fingerprinttsha1_fingerprintt Supersededt supersededt Unspecifiedt unspecifiedsValid Certificate PresenttvalidtValiditytvaliditys(Certificate for ${entity} ${primary_key}tview_certificatetcerts Group OptionstgroupsSearch OptionssSELinux OptionstselinuxsService Optionstservices User Optionstusertconfigt delegations Forward firstt forward_firstsForwarding disabledt forward_nones Forward onlyt forward_onlytOptionst dnsconfigtDatatdatas4DNS record was deleted because it contained no data.tdeleted_no_datasOther Record Typestothers!Address not valid, can't redirecttptr_redir_address_errsCreate dns recordtptr_redir_createsCreating record.tptr_redir_creatingsRecord creation failed.tptr_redir_creating_errsChecking if record exists.tptr_redir_recordsRecord not found.tptr_redir_record_errsRedirection to PTR recordtptr_redir_titlesZone found: ${zone}tptr_redir_zonesTarget reverse zone not found.tptr_redir_zone_errsFetching DNS zones.tptr_redir_zoness+An error occurred while fetching dns zones.tptr_redir_zones_errs#You will be redirected to DNS Zone.tredirection_dnszonesStandard Record TypeststandardsRecords for DNS Zones Record Typettypet dnsrecordsDNS Zone SettingssAdd Permissiontadd_permissionsRemove Permissiontremove_permissiontdnszonesGroup SettingstExternaltexternalsChange to external groupt make_externalsChange to POSIX groupt make_posixtNormaltnormaltPOSIXtposixs Group TypesAny Hosttany_hosts Any Servicet any_servicetAnyonetanyonet Accessingthosts Rule statustipaenabledflags Via ServicesSpecified Hosts and Groupstspecified_hostssSpecified Services and Groupstspecified_servicessSpecified Users and Groupstspecified_userstWhothbacrulethbacsvctServicestservicest hbacsvcgroups Access Deniedt access_deniedsAccess Grantedtaccess_grantedsInclude Disabledtinclude_disabledsInclude Enabledtinclude_enableds HBAC TesttlabeltMatchedtmatchedsMissing values: tmissing_valuessNew Testtnew_testtRulestrulessRun Testtrun_testsSpecify external ${entity}tspecify_externalt Unmatchedt unmatchedthbactestsHost Certificatet certificates Host NametcnsDelete Key, Unprovisiontdelete_key_unprovisions Host SettingstEnrolledtenrolledt Enrollmentt enrollmentsFully Qualified Host Nametfqdns Kerberos KeytkeytabsKerberos Key Not Presenttkeytab_missings&Kerberos Key Present, Host Provisionedtkeytab_presentsOne-Time-PasswordsOne-Time-Password Not Presenttpassword_missingsOne-Time-Password Presenttpassword_presents Reset OTPtpassword_reset_buttonsReset One-Time-Passwordtpassword_reset_titlesSet OTPtpassword_set_buttonsOTP settpassword_set_successsSet One-Time-Passwordtpassword_set_titletStatuststatust Unprovisiont unprovisions/Are you sure you want to unprovision this host?tunprovision_confirmationsUnprovisioning ${entity}tunprovision_titlesHost unprovisionedt unprovisionedsHost Group Settingst hostgroupsKerberos Ticket Policyt krbtpolicytHosts Host Groupst hostgroupstHoststhostssNetgroup SettingstUsers User Groupst usergroupstUserstuserstnetgrouptIdentitys,Permission with invalid target specificationtinvalid_targettRightstrightstTargetttargett permissionsPrivilege Settingst privilegesPassword PolicytpwpolicysRange SettingssBase IDt ipabaseidsPrimary RID baset ipabaserids Range sizetipaidrangesizes Domain SIDtipanttrusteddomainsidsSecondary RID basetipasecondarybaserids Range typesActive Directory domainttype_ads Local domaint type_localtidranges Role Settingstrolet selfservicetselinuxusermapsService CertificatesService Settingst Provisioningt provisioningtServices2Are you sure you want to unprovision this service?sService unprovisioneds)Kerberos Key Present, Service ProvisionedsSSH public keystkeyssSSH public key:tset_dialog_helps Set SSH keytset_dialog_titles Show/Set keyt show_set_keysModified: key not sett status_mod_nstModifiedt status_mod_ssNew: key not sett status_new_nss New: key sett status_new_st sshkeystoretGroupstgroupstsudocmdtCommandsR t sudocmdgrouptAllowtallows Any Commandt any_commands Any Groupt any_groups Run CommandsRtDenytdenysAccess this hosts Option addedt option_addedsOption(s) removedtoption_removedsAs WhomtrunassSpecified Commands and Groupstspecified_commandssSpecified Groupstspecified_groupstsudoruletAccounttaccountsAdministrative accountt admin_accountsTrust SettingstDomaintdomainsEstablish usingtestablish_usingsDomain NetBIOS namet ipantflatnamesDomain Security IdentifiersPre-shared passwordtpreshared_passwordsTrust directionttrustdirections Trust statust truststatuss Trust typet trusttypettrustsAccount SettingssAccount Statustaccount_statussContact SettingstcontactsEmployee InformationtemployeesError changing account statusterror_changing_statussPassword expirationtkrbpasswordexpirationsMailing AddresstmailingsMisc. InformationtmiscsYAre you sure you want to ${action} the user?
The change will take effect immediately.tstatus_confirmationsClick to ${action}t status_linkR sCurrent Passwordtcurrent_passwordsCurrent password is requiredtcurrent_password_requireds&Your password expires in ${days} days.t expires_ins2The password or username you entered is incorrect.tinvalid_passwords New Passwordt new_passwordsNew password is requiredtnew_password_requiredsPassword change completetpassword_change_completesPasswords must matchtpassword_must_matchs"Password reset was not successful.t reset_failuresReset Passwordtreset_passwordsReset your password.treset_password_sentencesVerify Passwordtverify_passwords1Are you sure you want to delete selected entries?sSelected entries were deleted.tdeleteds2Are you sure you want to disable selected entries?s${count} items were disabledtdisableds1Are you sure you want to enable selected entries?s${count} items were enabledtenabledsSome entries were not deletedtpartial_deletes Quick Linkst quick_linkss Select Allt select_allsdQuery returned more results than the configured size limit. Displaying the first ${counter} results.t truncateds Unselect Allt unselect_alltDisabledtEnabledtAudittauditt Automembert Automountt automounttDNStdnssHost Based Access Controlthbacs IPA Servert ipaservertPolicytpolicysRole Based Access ControltSudotsudottabsRttruetNexttnexttPagetpagetPrevtprevtundosundo alltundo_alls!Text does not match field patternsMust be a decimal numbertdecimalsMust be an integertintegersNot a valid IP addresst ip_addresssNot a valid IPv4 addresst ip_v4_addresssNot a valid IPv6 addresst ip_v6_addresssMaximum value is ${value}t max_valuesMinimum value is ${value}t min_valuesNot a valid network addresst net_addresss'${port}' is not a valid porttportsRequired fieldtrequiredsUnsupported valuet unsupportedt validationtwidgettmessagesRsDict of I18N messagescCstdt|ifgS(NR(RRR(R((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pyR"scOsti|dtGHdS(NR#(R$R%R(RR&R'R(R((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pyR)s( R*R+RR-RRRRR0R"R)(((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pyR1s                                                                                                                                                                                                                                                                                                                                                                (R,R$tipalibRRRRt ipalib.outputRt ipalib.textRt ipalib.utilRRtregisterR1(((s;/usr/lib/python2.6/site-packages/ipalib/plugins/internal.pyts h