From 2518612b0de13b3fd09eee7731804d077ded4ccf Mon Sep 17 00:00:00 2001 From: Adam Young Date: Tue, 1 Feb 2011 18:01:19 -0500 Subject: core widget unit tests baseline set of unit tests for checking that each widget conforms to the contract --- install/ui/details.js | 6 - install/ui/test/data/delegation_show.json | 15 +- install/ui/test/data/group_find.json | 39 +- install/ui/test/data/ipa_init.json | 13041 ++++++++++++++-------------- install/ui/test/widget_tests.js | 165 +- install/ui/widget.js | 69 +- 6 files changed, 6710 insertions(+), 6625 deletions(-) (limited to 'install/ui') diff --git a/install/ui/details.js b/install/ui/details.js index eadc4f2e..125ef1bc 100644 --- a/install/ui/details.js +++ b/install/ui/details.js @@ -372,12 +372,6 @@ IPA.details_section = function (spec){ return field; }; - that.create_button = function(spec) { - var field = IPA.button_widget(spec); - that.add_field(field); - return field; - }; - that.init = function() { for (var i=0; i", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "cn", + "cli_short_name": null, + "default": null, + "doc": "", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "krbpwdpolicyreference", - "cli_short_name": null, - "default": null, - "doc": "", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "krbpwdpolicyreference", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "krbpwdpolicyreference", + "cli_short_name": null, + "default": null, + "doc": "", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "krbpwdpolicyreference", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "cospriority", - "cli_short_name": null, - "default": null, - "doc": "", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "cospriority", - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "cospriority", + "cli_short_name": null, + "default": null, + "doc": "", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "cospriority", + "primary_key": false, + "query": false, + "required": true, "type": "int" } - ], + ], "uuid_attribute": "" - }, + }, "delegation": { - "bindable": false, - "label": "Delegation", + "bindable": false, + "label": "Delegation", "methods": [ - "add", - "del", - "find", - "mod", + "add", + "del", + "find", + "mod", "show" - ], - "name": "delegation", + ], + "name": "delegation", "object_name": [ "delegation" - ], + ], "object_name_plural": [ "delegation" - ], - "primary_key": "aciname", + ], + "primary_key": "aciname", "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Delegation name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Delegation name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "aciname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Delegation name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Delegation name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "aciname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "List", - "cli_name": "permissions", - "cli_short_name": null, - "default": null, - "doc": "Comma-separated list of permissions to grant (read, write). Default is write.", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Permissions", - "multivalue": true, - "name": "permissions", - "primary_key": false, - "query": false, - "required": false, - "separator": ",", - "skipspace": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "permissions", + "cli_short_name": null, + "default": null, + "doc": "Comma-separated list of permissions to grant (read, write). Default is write.", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Permissions", + "multivalue": true, + "name": "permissions", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, "type": "tuple" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "List", - "cli_name": "attrs", - "cli_short_name": null, - "default": null, - "doc": "Comma-separated list of attributes", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Attributes", - "multivalue": true, - "name": "attrs", - "primary_key": false, - "query": false, - "required": true, - "separator": ",", - "skipspace": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "attrs", + "cli_short_name": null, + "default": null, + "doc": "Comma-separated list of attributes", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Attributes", + "multivalue": true, + "name": "attrs", + "primary_key": false, + "query": false, + "required": true, + "separator": ",", + "skipspace": true, "type": "tuple" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "membergroup", - "cli_short_name": null, - "default": null, - "doc": "User group to apply delegation to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Member user group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberof", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "membergroup", + "cli_short_name": null, + "default": null, + "doc": "User group to apply delegation to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Member user group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberof", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "group", - "cli_short_name": null, - "default": null, - "doc": "User group ACI grants access to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "User group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "group", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "group", + "cli_short_name": null, + "default": null, + "doc": "User group ACI grants access to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "group", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" } ] - }, + }, "dnsrecord": { "aciattrs": [ - "a6record", - "aaaarecord", - "afsdbrecord", - "arecord", - "certrecord", - "cn", - "cnamerecord", - "dnamerecord", - "dnsclass", - "dnsttl", - "dsrecord", - "hinforecord", - "idnsallowdynupdate", - "idnsname", - "keyrecord", - "kxrecord", - "locrecord", - "mdrecord", - "minforecord", - "mxrecord", - "naptrrecord", - "nsecrecord", - "nsrecord", - "nxtrecord", - "objectclass", - "ptrrecord", - "rrsigrecord", - "sigrecord", - "srvrecord", - "sshfprecord", + "a6record", + "aaaarecord", + "afsdbrecord", + "arecord", + "certrecord", + "cn", + "cnamerecord", + "dnamerecord", + "dnsclass", + "dnsttl", + "dsrecord", + "hinforecord", + "idnsallowdynupdate", + "idnsname", + "keyrecord", + "kxrecord", + "locrecord", + "mdrecord", + "minforecord", + "mxrecord", + "naptrrecord", + "nsecrecord", + "nsrecord", + "nxtrecord", + "objectclass", + "ptrrecord", + "rrsigrecord", + "sigrecord", + "srvrecord", + "sshfprecord", "txtrecord" - ], - "attribute_members": {}, - "bindable": false, - "container_dn": "cn=dns", + ], + "attribute_members": {}, + "bindable": false, + "container_dn": "cn=dns", "default_attributes": [ - "arecord", - "aaaarecord", - "a6record", - "afsdbrecord", - "aplrecord", - "certrecord", - "cnamerecord", - "dhcidrecord", - "dlvrecord", - "dnamerecord", - "dnskeyrecord", - "dsrecord", - "hinforecord", - "hiprecord", - "ipseckeyrecord", - "keyrecord", - "kxrecord", - "locrecord", - "mdrecord", - "minforecord", - "mxrecord", - "naptrrecord", - "nsrecord", - "nsecrecord", - "nsec3record", - "nsec3paramrecord", - "nxtrecord", - "ptrrecord", - "rrsigrecord", - "rprecord", - "sigrecord", - "spfrecord", - "srvrecord", - "sshfprecord", - "tarecord", - "tkeyrecord", - "tsigrecord", - "txtrecord", + "arecord", + "aaaarecord", + "a6record", + "afsdbrecord", + "aplrecord", + "certrecord", + "cnamerecord", + "dhcidrecord", + "dlvrecord", + "dnamerecord", + "dnskeyrecord", + "dsrecord", + "hinforecord", + "hiprecord", + "ipseckeyrecord", + "keyrecord", + "kxrecord", + "locrecord", + "mdrecord", + "minforecord", + "mxrecord", + "naptrrecord", + "nsrecord", + "nsecrecord", + "nsec3record", + "nsec3paramrecord", + "nxtrecord", + "ptrrecord", + "rrsigrecord", + "rprecord", + "sigrecord", + "spfrecord", + "srvrecord", + "sshfprecord", + "tarecord", + "tkeyrecord", + "tsigrecord", + "txtrecord", "idnsname" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "DNS resource record", + ], + "label": "DNS resource record", "methods": [ - "add", - "add_record", - "del", - "delentry", - "find", + "add", + "add_record", + "del", + "delentry", + "find", "show" - ], - "name": "dnsrecord", + ], + "name": "dnsrecord", "object_class": [ - "top", + "top", "idnsrecord" - ], - "object_class_config": null, - "object_name": "DNS resource record", - "object_name_plural": "DNS resource records", - "parent_object": "dnszone", - "primary_key": "idnsname", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "DNS resource record", + "object_name_plural": "DNS resource records", + "parent_object": "dnszone", + "primary_key": "idnsname", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Record name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Record name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "idnsname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Record name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Record name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "idnsname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "ttl", - "cli_short_name": null, - "default": null, - "doc": "Time to live", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Time to live", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "dnsttl", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "ttl", + "cli_short_name": null, + "default": null, + "doc": "Time to live", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Time to live", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "dnsttl", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "class", - "cli_short_name": null, - "default": null, - "doc": "DNS class", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Class", - "multivalue": false, - "name": "dnsclass", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "class", + "cli_short_name": null, + "default": null, + "doc": "DNS class", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Class", + "multivalue": false, + "name": "dnsclass", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ - "IN", - "CS", - "CH", + "IN", + "CS", + "CH", "HS" ] } - ], + ], "uuid_attribute": "" - }, + }, "dnszone": { "aciattrs": [ - "a6record", - "aaaarecord", - "afsdbrecord", - "arecord", - "certrecord", - "cn", - "cnamerecord", - "dnamerecord", - "dnsclass", - "dnsttl", - "dsrecord", - "hinforecord", - "idnsallowdynupdate", - "idnsname", - "idnssoaexpire", - "idnssoaminimum", - "idnssoamname", - "idnssoarefresh", - "idnssoaretry", - "idnssoarname", - "idnssoaserial", - "idnsupdatepolicy", - "idnszoneactive", - "keyrecord", - "kxrecord", - "locrecord", - "mdrecord", - "minforecord", - "mxrecord", - "naptrrecord", - "nsecrecord", - "nsrecord", - "nxtrecord", - "objectclass", - "ptrrecord", - "rrsigrecord", - "sigrecord", - "srvrecord", - "sshfprecord", + "a6record", + "aaaarecord", + "afsdbrecord", + "arecord", + "certrecord", + "cn", + "cnamerecord", + "dnamerecord", + "dnsclass", + "dnsttl", + "dsrecord", + "hinforecord", + "idnsallowdynupdate", + "idnsname", + "idnssoaexpire", + "idnssoaminimum", + "idnssoamname", + "idnssoarefresh", + "idnssoaretry", + "idnssoarname", + "idnssoaserial", + "idnsupdatepolicy", + "idnszoneactive", + "keyrecord", + "kxrecord", + "locrecord", + "mdrecord", + "minforecord", + "mxrecord", + "naptrrecord", + "nsecrecord", + "nsrecord", + "nxtrecord", + "objectclass", + "ptrrecord", + "rrsigrecord", + "sigrecord", + "srvrecord", + "sshfprecord", "txtrecord" - ], - "attribute_members": {}, - "bindable": false, - "container_dn": "cn=dns", + ], + "attribute_members": {}, + "bindable": false, + "container_dn": "cn=dns", "default_attributes": [ - "idnsname", - "idnszoneactive", - "idnssoamname", - "idnssoarname", - "idnssoaserial", - "idnssoarefresh", - "idnssoaretry", - "idnssoaexpire", - "idnssoaminimum", - "arecord", - "aaaarecord", - "a6record", - "afsdbrecord", - "aplrecord", - "certrecord", - "cnamerecord", - "dhcidrecord", - "dlvrecord", - "dnamerecord", - "dnskeyrecord", - "dsrecord", - "hinforecord", - "hiprecord", - "ipseckeyrecord", - "keyrecord", - "kxrecord", - "locrecord", - "mdrecord", - "minforecord", - "mxrecord", - "naptrrecord", - "nsrecord", - "nsecrecord", - "nsec3record", - "nsec3paramrecord", - "nxtrecord", - "ptrrecord", - "rrsigrecord", - "rprecord", - "sigrecord", - "spfrecord", - "srvrecord", - "sshfprecord", - "tarecord", - "tkeyrecord", - "tsigrecord", + "idnsname", + "idnszoneactive", + "idnssoamname", + "idnssoarname", + "idnssoaserial", + "idnssoarefresh", + "idnssoaretry", + "idnssoaexpire", + "idnssoaminimum", + "arecord", + "aaaarecord", + "a6record", + "afsdbrecord", + "aplrecord", + "certrecord", + "cnamerecord", + "dhcidrecord", + "dlvrecord", + "dnamerecord", + "dnskeyrecord", + "dsrecord", + "hinforecord", + "hiprecord", + "ipseckeyrecord", + "keyrecord", + "kxrecord", + "locrecord", + "mdrecord", + "minforecord", + "mxrecord", + "naptrrecord", + "nsrecord", + "nsecrecord", + "nsec3record", + "nsec3paramrecord", + "nxtrecord", + "ptrrecord", + "rrsigrecord", + "rprecord", + "sigrecord", + "spfrecord", + "srvrecord", + "sshfprecord", + "tarecord", + "tkeyrecord", + "tsigrecord", "txtrecord" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "DNS", + ], + "label": "DNS", "methods": [ - "add", - "del", - "disable", - "enable", - "find", - "mod", + "add", + "del", + "disable", + "enable", + "find", + "mod", "show" - ], - "name": "dnszone", + ], + "name": "dnszone", "object_class": [ - "top", - "idnsrecord", + "top", + "idnsrecord", "idnszone" - ], - "object_class_config": null, - "object_name": "DNS zone", - "object_name_plural": "DNS zones", - "parent_object": "", - "primary_key": "idnsname", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "DNS zone", + "object_name_plural": "DNS zones", + "parent_object": "", + "primary_key": "idnsname", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Zone name (FQDN)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Zone name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "idnsname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Zone name (FQDN)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Zone name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "idnsname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name_server", - "cli_short_name": null, - "default": null, - "doc": "Authoritative name server", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Authoritative name server", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "idnssoamname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name_server", + "cli_short_name": null, + "default": null, + "doc": "Authoritative name server", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Authoritative name server", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "idnssoamname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "admin_email", - "cli_short_name": null, - "default": null, - "doc": "Administrator e-mail address", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Administrator e-mail address", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "idnssoarname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "admin_email", + "cli_short_name": null, + "default": null, + "doc": "Administrator e-mail address", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Administrator e-mail address", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "idnssoarname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Int", - "cli_name": "serial", - "cli_short_name": null, - "default": null, - "doc": "SOA record serial number", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "SOA serial", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "idnssoaserial", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "serial", + "cli_short_name": null, + "default": null, + "doc": "SOA record serial number", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "SOA serial", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "idnssoaserial", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Int", - "cli_name": "refresh", - "cli_short_name": null, - "default": 3600, - "doc": "SOA record refresh time", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "SOA refresh", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "idnssoarefresh", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "refresh", + "cli_short_name": null, + "default": 3600, + "doc": "SOA record refresh time", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "SOA refresh", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "idnssoarefresh", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Int", - "cli_name": "retry", - "cli_short_name": null, - "default": 900, - "doc": "SOA record retry time", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "SOA retry", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "idnssoaretry", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "retry", + "cli_short_name": null, + "default": 900, + "doc": "SOA record retry time", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "SOA retry", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "idnssoaretry", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Int", - "cli_name": "expire", - "cli_short_name": null, - "default": 1209600, - "doc": "SOA record expire time", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "SOA expire", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "idnssoaexpire", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "expire", + "cli_short_name": null, + "default": 1209600, + "doc": "SOA record expire time", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "SOA expire", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "idnssoaexpire", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Int", - "cli_name": "minimum", - "cli_short_name": null, - "default": 3600, - "doc": "SOA record minimum value", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "SOA minimum", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "idnssoaminimum", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "minimum", + "cli_short_name": null, + "default": 3600, + "doc": "SOA record minimum value", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "SOA minimum", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "idnssoaminimum", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "ttl", - "cli_short_name": null, - "default": null, - "doc": "SOA record time to live", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "SOA time to live", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "dnsttl", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "ttl", + "cli_short_name": null, + "default": null, + "doc": "SOA record time to live", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "SOA time to live", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "dnsttl", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "class", - "cli_short_name": null, - "default": null, - "doc": "SOA record class", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "SOA class", - "multivalue": false, - "name": "dnsclass", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "class", + "cli_short_name": null, + "default": null, + "doc": "SOA record class", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "SOA class", + "multivalue": false, + "name": "dnsclass", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ - "IN", - "CS", - "CH", + "IN", + "CS", + "CH", "HS" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "update_policy", - "cli_short_name": null, - "default": null, - "doc": "BIND update policy", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "BIND update policy", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "idnsupdatepolicy", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "update_policy", + "cli_short_name": null, + "default": null, + "doc": "BIND update policy", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "BIND update policy", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "idnsupdatepolicy", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": true, - "autofill": true, - "class": "Flag", - "cli_name": "zone_active", - "cli_short_name": null, - "default": false, - "doc": "Is zone active?", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": true, + "autofill": true, + "class": "Flag", + "cli_name": "zone_active", + "cli_short_name": null, + "default": false, + "doc": "Is zone active?", + "exclude": null, "falsehoods": [ - 0, - "0", + 0, + "0", "false" - ], + ], "flags": [ - "no_update", + "no_update", "no_create" - ], - "hint": null, - "include": null, - "label": "Active zone", - "multivalue": false, - "name": "idnszoneactive", - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Active zone", + "multivalue": false, + "name": "idnszoneactive", + "primary_key": false, + "query": false, + "required": false, "truths": [ - "1", - 1, + "1", + 1, "true" - ], + ], "type": "bool" - }, - { - "alwaysask": false, - "attribute": true, - "autofill": true, - "class": "Flag", - "cli_name": "allow_dynupdate", - "cli_short_name": null, - "default": false, - "doc": "Allow dynamic update?", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": true, + "autofill": true, + "class": "Flag", + "cli_name": "allow_dynupdate", + "cli_short_name": null, + "default": false, + "doc": "Allow dynamic update?", + "exclude": null, "falsehoods": [ - 0, - "0", + 0, + "0", "false" - ], - "flags": [], - "hint": null, - "include": null, - "label": "Dynamic update", - "multivalue": false, - "name": "idnsallowdynupdate", - "primary_key": false, - "query": false, - "required": true, + ], + "flags": [], + "hint": null, + "include": null, + "label": "Dynamic update", + "multivalue": false, + "name": "idnsallowdynupdate", + "primary_key": false, + "query": false, + "required": true, "truths": [ - "1", - 1, + "1", + 1, "true" - ], + ], "type": "bool" } - ], + ], "uuid_attribute": "" - }, + }, "group": { "aciattrs": [ - "businesscategory", - "cn", - "description", - "gidnumber", - "ipauniqueid", - "member", - "memberof", - "memberuid", - "mepmanagedby", - "o", - "objectclass", - "ou", - "owner", - "seealso", + "businesscategory", + "cn", + "description", + "gidnumber", + "ipauniqueid", + "member", + "memberof", + "memberuid", + "mepmanagedby", + "o", + "objectclass", + "ou", + "owner", + "seealso", "userpassword" - ], + ], "attribute_members": { "member": [ - "user", + "user", "group" - ], + ], "memberindirect": [ - "user", - "group", - "netgroup", + "user", + "group", + "netgroup", "role" - ], + ], "memberof": [ - "group", - "netgroup", + "group", + "netgroup", "role" ] - }, - "bindable": false, - "container_dn": "cn=groups,cn=accounts", + }, + "bindable": false, + "container_dn": "cn=groups,cn=accounts", "default_attributes": [ - "cn", - "description", - "gidnumber", - "member", - "memberof", + "cn", + "description", + "gidnumber", + "member", + "memberof", "memberindirect" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "User Groups", + ], + "label": "User Groups", "methods": [ - "add", - "add_member", - "del", - "detach", - "find", - "mod", - "remove_member", + "add", + "add_member", + "del", + "detach", + "find", + "mod", + "remove_member", "show" - ], - "name": "group", + ], + "name": "group", "object_class": [ "ipausergroup" - ], - "object_class_config": "ipagroupobjectclasses", - "object_name": "group", - "object_name_plural": "groups", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": "ipagroupobjectclasses", + "object_name": "group", + "object_name_plural": "groups", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "group_name", - "cli_short_name": null, - "default": null, - "doc": "Group name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Group name", - "length": null, - "maxlength": 255, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": "^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$", - "pattern_errmsg": "may only include letters, numbers, _, -, . and $", - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "group_name", + "cli_short_name": null, + "default": null, + "doc": "Group name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Group name", + "length": null, + "maxlength": 255, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": "^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$", + "pattern_errmsg": "may only include letters, numbers, _, -, . and $", + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "Group description", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "Group description", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "gid", - "cli_short_name": null, - "default": null, - "doc": "GID (use this option to set it manually)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "GID", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "gidnumber", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "gid", + "cli_short_name": null, + "default": null, + "doc": "GID (use this option to set it manually)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "GID", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "gidnumber", + "primary_key": false, + "query": false, + "required": false, "type": "int" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "hbacrule": { "aciattrs": [ - "accessruletype", - "accesstime", - "cn", - "description", - "externalhost", - "hostcategory", - "ipaenabledflag", - "ipauniqueid", - "memberhost", - "memberservice", - "memberuser", - "servicecategory", - "sourcehost", - "sourcehostcategory", + "accessruletype", + "accesstime", + "cn", + "description", + "externalhost", + "hostcategory", + "ipaenabledflag", + "ipauniqueid", + "memberhost", + "memberservice", + "memberuser", + "servicecategory", + "sourcehost", + "sourcehostcategory", "usercategory" - ], + ], "attribute_members": { "memberhost": [ - "host", + "host", "hostgroup" - ], + ], "memberservice": [ - "hbacsvc", + "hbacsvc", "hbacsvcgroup" - ], + ], "memberuser": [ - "user", + "user", "group" - ], + ], "sourcehost": [ - "host", + "host", "hostgroup" ] - }, - "bindable": false, - "container_dn": "cn=hbac", + }, + "bindable": false, + "container_dn": "cn=hbac", "default_attributes": [ - "cn", - "accessruletype", - "ipaenabledflag", - "description", - "usercategory", - "hostcategory", - "sourcehostcategory", - "servicecategory", - "ipaenabledflag", - "memberuser", - "sourcehost", - "memberhost", - "memberservice", + "cn", + "accessruletype", + "ipaenabledflag", + "description", + "usercategory", + "hostcategory", + "sourcehostcategory", + "servicecategory", + "ipaenabledflag", + "memberuser", + "sourcehost", + "memberhost", + "memberservice", "memberhostgroup" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "HBAC", + ], + "label": "HBAC", "methods": [ - "add", - "add_host", - "add_service", - "add_sourcehost", - "add_user", - "del", - "disable", - "enable", - "find", - "mod", - "remove_host", - "remove_service", - "remove_sourcehost", - "remove_user", + "add", + "add_host", + "add_service", + "add_sourcehost", + "add_user", + "del", + "disable", + "enable", + "find", + "mod", + "remove_host", + "remove_service", + "remove_sourcehost", + "remove_user", "show" - ], - "name": "hbacrule", + ], + "name": "hbacrule", "object_class": [ - "ipaassociation", + "ipaassociation", "ipahbacrule" - ], - "object_class_config": null, - "object_name": "HBAC rule", - "object_name_plural": "HBAC rules", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "ipauniqueid", + ], + "object_class_config": null, + "object_name": "HBAC rule", + "object_name_plural": "HBAC rules", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "ipauniqueid", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Rule name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Rule name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Rule name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Rule name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "type", - "cli_short_name": null, - "default": null, - "doc": "Rule type (allow or deny)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Rule type", - "multivalue": false, - "name": "accessruletype", - "primary_key": false, - "query": false, - "required": true, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Rule type (allow or deny)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Rule type", + "multivalue": false, + "name": "accessruletype", + "primary_key": false, + "query": false, + "required": true, + "type": "unicode", "values": [ - "allow", + "allow", "deny" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "usercat", - "cli_short_name": null, - "default": null, - "doc": "User category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "User category", - "multivalue": false, - "name": "usercategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "usercat", + "cli_short_name": null, + "default": null, + "doc": "User category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User category", + "multivalue": false, + "name": "usercategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "hostcat", - "cli_short_name": null, - "default": null, - "doc": "Host category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Host category", - "multivalue": false, - "name": "hostcategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "hostcat", + "cli_short_name": null, + "default": null, + "doc": "Host category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Host category", + "multivalue": false, + "name": "hostcategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "srchostcat", - "cli_short_name": null, - "default": null, - "doc": "Source host category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Source host category", - "multivalue": false, - "name": "sourcehostcategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "srchostcat", + "cli_short_name": null, + "default": null, + "doc": "Source host category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Source host category", + "multivalue": false, + "name": "sourcehostcategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "servicecat", - "cli_short_name": null, - "default": null, - "doc": "Service category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Service category", - "multivalue": false, - "name": "servicecategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "servicecat", + "cli_short_name": null, + "default": null, + "doc": "Service category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Service category", + "multivalue": false, + "name": "servicecategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "Description", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "Description", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Flag", - "cli_name": "ipaenabledflag", - "cli_short_name": null, - "default": false, - "doc": "Enabled", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "ipaenabledflag", + "cli_short_name": null, + "default": false, + "doc": "Enabled", + "exclude": null, "falsehoods": [ - 0, - "0", + 0, + "0", "false" - ], + ], "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Enabled", - "multivalue": false, - "name": "ipaenabledflag", - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Enabled", + "multivalue": false, + "name": "ipaenabledflag", + "primary_key": false, + "query": false, + "required": false, "truths": [ - "1", - 1, + "1", + 1, "true" - ], + ], "type": "bool" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberuser_user", - "cli_short_name": null, - "default": null, - "doc": "Users", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberuser_user", + "cli_short_name": null, + "default": null, + "doc": "Users", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Users", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberuser_user", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Users", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberuser_user", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberuser_group", - "cli_short_name": null, - "default": null, - "doc": "Groups", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberuser_group", + "cli_short_name": null, + "default": null, + "doc": "Groups", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Groups", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberuser_group", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Groups", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberuser_group", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberhost_host", - "cli_short_name": null, - "default": null, - "doc": "Hosts", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberhost_host", + "cli_short_name": null, + "default": null, + "doc": "Hosts", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Hosts", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberhost_host", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Hosts", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberhost_host", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberhost_hostgroup", - "cli_short_name": null, - "default": null, - "doc": "Host Groups", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberhost_hostgroup", + "cli_short_name": null, + "default": null, + "doc": "Host Groups", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Host Groups", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberhost_hostgroup", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Host Groups", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberhost_hostgroup", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "sourcehost_host", - "cli_short_name": null, - "default": null, - "doc": "Source hosts", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "sourcehost_host", + "cli_short_name": null, + "default": null, + "doc": "Source hosts", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Source hosts", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "sourcehost_host", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Source hosts", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "sourcehost_host", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberservice_hbacsvc", - "cli_short_name": null, - "default": null, - "doc": "Services", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberservice_hbacsvc", + "cli_short_name": null, + "default": null, + "doc": "Services", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Services", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberservice_hbacsvc", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Services", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberservice_hbacsvc", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberservice_hbacsvcgroup", - "cli_short_name": null, - "default": null, - "doc": "Service Groups", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberservice_hbacsvcgroup", + "cli_short_name": null, + "default": null, + "doc": "Service Groups", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Service Groups", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberservice_hbacsvcgroup", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Service Groups", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberservice_hbacsvcgroup", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "hbacsvc": { "aciattrs": [ - "cn", - "description", - "ipauniqueid", - "memberof", + "cn", + "description", + "ipauniqueid", + "memberof", "objectclass" - ], - "attribute_members": {}, - "bindable": false, - "container_dn": "cn=hbacservices,cn=hbac", + ], + "attribute_members": {}, + "bindable": false, + "container_dn": "cn=hbacservices,cn=hbac", "default_attributes": [ - "cn", - "description", + "cn", + "description", "memberindirect" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "HBAC Services", + ], + "label": "HBAC Services", "methods": [ - "add", - "del", - "find", - "mod", + "add", + "del", + "find", + "mod", "show" - ], - "name": "hbacsvc", + ], + "name": "hbacsvc", "object_class": [ - "ipaobject", + "ipaobject", "ipahbacservice" - ], - "object_class_config": null, - "object_name": "hbacsvc", - "object_name_plural": "hbacsvcs", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "hbacsvc", + "object_name_plural": "hbacsvcs", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "service", - "cli_short_name": null, - "default": null, - "doc": "HBAC Service", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Service name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "service", + "cli_short_name": null, + "default": null, + "doc": "HBAC Service", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Service name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "Description of service", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "Description of service", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "hbacsvcgroup": { "aciattrs": [ - "businesscategory", - "cn", - "description", - "ipauniqueid", - "member", - "o", - "objectclass", - "ou", - "owner", + "businesscategory", + "cn", + "description", + "ipauniqueid", + "member", + "o", + "objectclass", + "ou", + "owner", "seealso" - ], + ], "attribute_members": { "member": [ "hbacsvc" ] - }, - "bindable": false, - "container_dn": "cn=hbacservicegroups,cn=hbac", + }, + "bindable": false, + "container_dn": "cn=hbacservicegroups,cn=hbac", "default_attributes": [ - "cn", - "description", + "cn", + "description", "member" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "HBAC Service Groups", + ], + "label": "HBAC Service Groups", "methods": [ - "add", - "add_member", - "del", - "find", - "mod", - "remove_member", + "add", + "add_member", + "del", + "find", + "mod", + "remove_member", "show" - ], - "name": "hbacsvcgroup", + ], + "name": "hbacsvcgroup", "object_class": [ - "ipaobject", + "ipaobject", "ipahbacservicegroup" - ], - "object_class_config": null, - "object_name": "hbacsvcgroup", - "object_name_plural": "hbacsvcgroups", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "hbacsvcgroup", + "object_name_plural": "hbacsvcgroups", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Service group name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Service group name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Service group name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Service group name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "HBAC service group description", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "HBAC service group description", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "host": { "aciattrs": [ - "cn", - "description", - "enrolledby", - "fqdn", - "ipaclientversion", - "ipauniqueid", - "l", - "managedby", - "memberof", - "nshardwareplatform", - "nshostlocation", - "nsosversion", - "objectclass", - "serverhostname", - "usercertificate", + "cn", + "description", + "enrolledby", + "fqdn", + "ipaclientversion", + "ipauniqueid", + "l", + "managedby", + "memberof", + "nshardwareplatform", + "nshostlocation", + "nsosversion", + "objectclass", + "serverhostname", + "usercertificate", "userpassword" - ], + ], "attribute_members": { "enrolledby": [ "user" - ], + ], "managedby": [ "host" - ], + ], "memberof": [ - "hostgroup", - "netgroup", + "hostgroup", + "netgroup", "role" ] - }, - "bindable": true, - "container_dn": "cn=computers,cn=accounts", + }, + "bindable": true, + "container_dn": "cn=computers,cn=accounts", "default_attributes": [ - "fqdn", - "description", - "l", - "nshostlocation", - "krbprincipalname", - "nshardwareplatform", - "nsosversion", - "usercertificate", - "memberof", - "krblastpwdchange", + "fqdn", + "description", + "l", + "nshostlocation", + "krbprincipalname", + "nshardwareplatform", + "nsosversion", + "usercertificate", + "memberof", + "krblastpwdchange", "managedby" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Hosts", + ], + "label": "Hosts", "methods": [ - "add", - "add_managedby", - "del", - "disable", - "find", - "mod", - "remove_managedby", + "add", + "add_managedby", + "del", + "disable", + "find", + "mod", + "remove_managedby", "show" - ], - "name": "host", + ], + "name": "host", "object_class": [ - "ipaobject", - "nshost", - "ipahost", - "pkiuser", + "ipaobject", + "nshost", + "ipahost", + "pkiuser", "ipaservice" - ], - "object_class_config": null, - "object_name": "host", - "object_name_plural": "hosts", - "parent_object": "", - "primary_key": "fqdn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "host", + "object_name_plural": "hosts", + "parent_object": "", + "primary_key": "fqdn", + "rdn_attribute": "", "relationships": { "enrolledby": [ - "Enrolled by", - "enroll_by_", + "Enrolled by", + "enroll_by_", "not_enroll_by_" - ], + ], "managedby": [ - "Managed by", - "man_by_", + "Managed by", + "man_by_", "not_man_by_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "hostname", - "cli_short_name": null, - "default": null, - "doc": "Host name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Host name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "fqdn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "hostname", + "cli_short_name": null, + "default": null, + "doc": "Host name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Host name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "fqdn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "A description of this host", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "A description of this host", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "locality", - "cli_short_name": null, - "default": null, - "doc": "Host locality (e.g. \"Baltimore, MD\")", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Locality", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "l", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "locality", + "cli_short_name": null, + "default": null, + "doc": "Host locality (e.g. \"Baltimore, MD\")", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Locality", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "l", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "location", - "cli_short_name": null, - "default": null, - "doc": "Host location (e.g. \"Lab 2\")", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Location", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "nshostlocation", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "location", + "cli_short_name": null, + "default": null, + "doc": "Host location (e.g. \"Lab 2\")", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Location", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "nshostlocation", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "platform", - "cli_short_name": null, - "default": null, - "doc": "Host hardware platform (e.g. \"Lenovo T61\")", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Platform", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "nshardwareplatform", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "platform", + "cli_short_name": null, + "default": null, + "doc": "Host hardware platform (e.g. \"Lenovo T61\")", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Platform", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "nshardwareplatform", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "os", - "cli_short_name": null, - "default": null, - "doc": "Host operating system and version (e.g. \"Fedora 9\")", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Operating system", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "nsosversion", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "os", + "cli_short_name": null, + "default": null, + "doc": "Host operating system and version (e.g. \"Fedora 9\")", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Operating system", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "nsosversion", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "password", - "cli_short_name": null, - "default": null, - "doc": "Password used in bulk enrollment", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "User password", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "userpassword", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "password", + "cli_short_name": null, + "default": null, + "doc": "Password used in bulk enrollment", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User password", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "userpassword", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Flag", - "cli_name": "random", - "cli_short_name": null, - "default": false, - "doc": "Generate a random password to be used in bulk enrollment", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "random", + "cli_short_name": null, + "default": false, + "doc": "Generate a random password to be used in bulk enrollment", + "exclude": null, "falsehoods": [ - 0, - "0", + 0, + "0", "false" - ], + ], "flags": [ "no_search" - ], - "hint": null, - "include": null, - "label": "", - "multivalue": false, - "name": "random", - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "random", + "primary_key": false, + "query": false, + "required": false, "truths": [ - "1", - 1, + "1", + 1, "true" - ], + ], "type": "bool" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "randompassword", - "cli_short_name": null, - "default": null, - "doc": "Random password", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "randompassword", + "cli_short_name": null, + "default": null, + "doc": "Random password", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Random password", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "randompassword", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Random password", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "randompassword", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Bytes", - "cli_name": "certificate", - "cli_short_name": null, - "default": null, - "doc": "Base-64 encoded server certificate", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Certificate", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "usercertificate", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Bytes", + "cli_name": "certificate", + "cli_short_name": null, + "default": null, + "doc": "Base-64 encoded server certificate", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Certificate", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "usercertificate", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "str" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "krbprincipalname", - "cli_short_name": null, - "default": null, - "doc": "Principal name", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "krbprincipalname", + "cli_short_name": null, + "default": null, + "doc": "Principal name", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Principal name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "krbprincipalname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Principal name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "krbprincipalname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "hostgroup": { "aciattrs": [ - "businesscategory", - "cn", - "description", - "ipauniqueid", - "member", - "memberof", - "o", - "objectclass", - "ou", - "owner", + "businesscategory", + "cn", + "description", + "ipauniqueid", + "member", + "memberof", + "o", + "objectclass", + "ou", + "owner", "seealso" - ], + ], "attribute_members": { "member": [ - "host", + "host", "hostgroup" - ], + ], "memberindirect": [ - "host", + "host", "hostgroup" - ], + ], "memberof": [ "hostgroup" ] - }, - "bindable": false, - "container_dn": "cn=hostgroups,cn=accounts", + }, + "bindable": false, + "container_dn": "cn=hostgroups,cn=accounts", "default_attributes": [ - "cn", - "description", - "member", - "memberof", + "cn", + "description", + "member", + "memberof", "memberindirect" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Host Groups", + ], + "label": "Host Groups", "methods": [ - "add", - "add_member", - "del", - "find", - "mod", - "remove_member", + "add", + "add_member", + "del", + "find", + "mod", + "remove_member", "show" - ], - "name": "hostgroup", + ], + "name": "hostgroup", "object_class": [ - "ipaobject", + "ipaobject", "ipahostgroup" - ], - "object_class_config": null, - "object_name": "hostgroup", - "object_name_plural": "hostgroups", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "hostgroup", + "object_name_plural": "hostgroups", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "hostgroup_name", - "cli_short_name": null, - "default": null, - "doc": "Name of host-group", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Host-group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "hostgroup_name", + "cli_short_name": null, + "default": null, + "doc": "Name of host-group", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Host-group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "A description of this host-group", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "A description of this host-group", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "krbtpolicy": { - "aciattrs": [], - "attribute_members": {}, - "bindable": false, - "container_dn": "cn=IPA14.AYOUNG.BOSTON.DEVEL.REDHAT.COM,cn=kerberos", + "aciattrs": [], + "attribute_members": {}, + "bindable": false, + "container_dn": "cn=IPA14.AYOUNG.BOSTON.DEVEL.REDHAT.COM,cn=kerberos", "default_attributes": [ - "krbmaxticketlife", + "krbmaxticketlife", "krbmaxrenewableage" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Kerberos Ticket Policy", + ], + "label": "Kerberos Ticket Policy", "methods": [ - "mod", - "reset", + "mod", + "reset", "show" - ], - "name": "krbtpolicy", - "object_class": [], - "object_class_config": null, - "object_name": "kerberos ticket policy settings", - "object_name_plural": "entries", - "parent_object": "", - "primary_key": "uid", - "rdn_attribute": "", + ], + "name": "krbtpolicy", + "object_class": [], + "object_class_config": null, + "object_name": "kerberos ticket policy settings", + "object_name_plural": "entries", + "parent_object": "", + "primary_key": "uid", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "user", - "cli_short_name": null, - "default": null, - "doc": "Manage ticket policy for specific user", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "User name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "uid", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": false, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "user", + "cli_short_name": null, + "default": null, + "doc": "Manage ticket policy for specific user", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "uid", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "maxlife", - "cli_short_name": null, - "default": null, - "doc": "Maximum ticket life (seconds)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Max life", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "krbmaxticketlife", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "maxlife", + "cli_short_name": null, + "default": null, + "doc": "Maximum ticket life (seconds)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Max life", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "krbmaxticketlife", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "maxrenew", - "cli_short_name": null, - "default": null, - "doc": "Maximum renewable age (seconds)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Max renew", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "krbmaxrenewableage", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "maxrenew", + "cli_short_name": null, + "default": null, + "doc": "Maximum renewable age (seconds)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Max renew", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "krbmaxrenewableage", + "primary_key": false, + "query": false, + "required": false, "type": "int" } - ], + ], "uuid_attribute": "" - }, + }, "netgroup": { "aciattrs": [ - "cn", - "description", - "externalhost", - "hostcategory", - "ipaenabledflag", - "ipauniqueid", - "member", - "memberhost", - "memberof", - "memberuser", - "nisdomainname", + "cn", + "description", + "externalhost", + "hostcategory", + "ipaenabledflag", + "ipauniqueid", + "member", + "memberhost", + "memberof", + "memberuser", + "nisdomainname", "usercategory" - ], + ], "attribute_members": { "member": [ "netgroup" - ], + ], "memberhost": [ - "host", + "host", "hostgroup" - ], + ], "memberindirect": [ "netgroup" - ], + ], "memberof": [ "netgroup" - ], + ], "memberuser": [ - "user", + "user", "group" ] - }, - "bindable": false, - "container_dn": "cn=ng,cn=alt", + }, + "bindable": false, + "container_dn": "cn=ng,cn=alt", "default_attributes": [ - "cn", - "description", - "memberof", - "externalhost", - "nisdomainname", - "memberuser", - "memberhost", - "member", - "memberindirect", - "usercategory", + "cn", + "description", + "memberof", + "externalhost", + "nisdomainname", + "memberuser", + "memberhost", + "member", + "memberindirect", + "usercategory", "hostcategory" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Net Groups", + ], + "label": "Net Groups", "methods": [ - "add", - "add_member", - "del", - "find", - "mod", - "remove_member", + "add", + "add_member", + "del", + "find", + "mod", + "remove_member", "show" - ], - "name": "netgroup", + ], + "name": "netgroup", "object_class": [ - "ipaobject", - "ipaassociation", + "ipaobject", + "ipaassociation", "ipanisnetgroup" - ], - "object_class_config": null, - "object_name": "netgroup", - "object_name_plural": "netgroups", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "ipauniqueid", + ], + "object_class_config": null, + "object_name": "netgroup", + "object_name_plural": "netgroups", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "ipauniqueid", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberhost": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" - ], + ], "memberuser": [ - "Member", - "", + "Member", + "", "no_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Netgroup name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Netgroup name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Netgroup name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Netgroup name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "Netgroup description", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "Netgroup description", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "nisdomain", - "cli_short_name": null, - "default": null, - "doc": "NIS domain name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "NIS domain name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "nisdomainname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "nisdomain", + "cli_short_name": null, + "default": null, + "doc": "NIS domain name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "NIS domain name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "nisdomainname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "uuid", - "cli_short_name": null, - "default": null, - "doc": "IPA unique ID", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "uuid", + "cli_short_name": null, + "default": null, + "doc": "IPA unique ID", + "exclude": null, "flags": [ - "no_update", + "no_update", "no_create" - ], - "hint": null, - "include": null, - "label": "IPA unique ID", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "ipauniqueid", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "IPA unique ID", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ipauniqueid", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "usercat", - "cli_short_name": null, - "default": null, - "doc": "User category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "User category", - "multivalue": false, - "name": "usercategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "usercat", + "cli_short_name": null, + "default": null, + "doc": "User category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User category", + "multivalue": false, + "name": "usercategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "hostcat", - "cli_short_name": null, - "default": null, - "doc": "Host category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Host category", - "multivalue": false, - "name": "hostcategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "hostcat", + "cli_short_name": null, + "default": null, + "doc": "Host category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Host category", + "multivalue": false, + "name": "hostcategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "permission": { "aciattrs": [ - "businesscategory", - "cn", - "description", - "member", - "o", - "objectclass", - "ou", - "owner", + "businesscategory", + "cn", + "description", + "member", + "o", + "objectclass", + "ou", + "owner", "seealso" - ], + ], "attribute_members": { "member": [ "privilege" ] - }, - "bindable": false, - "container_dn": "cn=permissions,cn=pbac", + }, + "bindable": false, + "container_dn": "cn=permissions,cn=pbac", "default_attributes": [ - "cn", - "description", - "member", - "memberof", + "cn", + "member", + "memberof", "memberindirect" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Permissions", + ], + "label": "Permissions", "methods": [ - "add", - "add_member", - "del", - "find", - "mod", - "remove_member", + "add", + "add_member", + "del", + "find", + "mod", + "remove_member", "show" - ], - "name": "permission", + ], + "name": "permission", "object_class": [ "groupofnames" - ], - "object_class_config": null, - "object_name": "permission", - "object_name_plural": "permissions", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "permission", + "object_name_plural": "permissions", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Permission name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Permission name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Permission name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Permission name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "Permission description", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, - "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "List", - "cli_name": "permissions", - "cli_short_name": null, - "default": null, - "doc": "Comma-separated list of permissions to grant (read, write, add, delete, all)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Permissions", - "multivalue": true, - "name": "permissions", - "primary_key": false, - "query": false, - "required": true, - "separator": ",", - "skipspace": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "permissions", + "cli_short_name": null, + "default": null, + "doc": "Comma-separated list of permissions to grant (read, write, add, delete, all)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Permissions", + "multivalue": true, + "name": "permissions", + "primary_key": false, + "query": false, + "required": true, + "separator": ",", + "skipspace": true, "type": "tuple" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "List", - "cli_name": "attrs", - "cli_short_name": null, - "default": null, - "doc": "Comma-separated list of attributes", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "attrs", + "cli_short_name": null, + "default": null, + "doc": "Comma-separated list of attributes", + "exclude": null, "flags": [ - "ask_create", + "ask_create", "ask_update" - ], - "hint": null, - "include": null, - "label": "Attributes", - "multivalue": true, - "name": "attrs", - "primary_key": false, - "query": false, - "required": false, - "separator": ",", - "skipspace": true, + ], + "hint": null, + "include": null, + "label": "Attributes", + "multivalue": true, + "name": "attrs", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, "type": "tuple" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "type", - "cli_short_name": null, - "default": null, - "doc": "Type of IPA object (user, group, host, hostgroup, service, netgroup, dns)", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Type of IPA object (user, group, host, hostgroup, service, netgroup, dns)", + "exclude": null, "flags": [ - "ask_create", + "ask_create", "ask_update" - ], - "hint": null, - "include": null, - "label": "Type", - "multivalue": false, - "name": "type", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + ], + "hint": null, + "include": null, + "label": "Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ - "user", - "group", - "host", - "service", - "hostgroup", - "netgroup", + "user", + "group", + "host", + "service", + "hostgroup", + "netgroup", "dns" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberof", - "cli_short_name": null, - "default": null, - "doc": "Target members of a group", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberof", + "cli_short_name": null, + "default": null, + "doc": "Target members of a group", + "exclude": null, "flags": [ - "ask_create", + "ask_create", "ask_update" - ], - "hint": null, - "include": null, - "label": "Member of group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberof", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Member of group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberof", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "filter", - "cli_short_name": null, - "default": null, - "doc": "Legal LDAP filter (e.g. ou=Engineering)", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "filter", + "cli_short_name": null, + "default": null, + "doc": "Legal LDAP filter (e.g. ou=Engineering)", + "exclude": null, "flags": [ - "ask_create", + "ask_create", "ask_update" - ], - "hint": null, - "include": null, - "label": "Filter", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "filter", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Filter", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "filter", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "subtree", - "cli_short_name": null, - "default": null, - "doc": "Subtree to apply permissions to", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "subtree", + "cli_short_name": null, + "default": null, + "doc": "Subtree to apply permissions to", + "exclude": null, "flags": [ - "ask_create", + "ask_create", "ask_update" - ], - "hint": null, - "include": null, - "label": "Subtree", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "subtree", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Subtree", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "subtree", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "targetgroup", - "cli_short_name": null, - "default": null, - "doc": "User group to apply permissions to", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "targetgroup", + "cli_short_name": null, + "default": null, + "doc": "User group to apply permissions to", + "exclude": null, "flags": [ - "ask_create", + "ask_create", "ask_update" - ], - "hint": null, - "include": null, - "label": "Target group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "targetgroup", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Target group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "targetgroup", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" } - ], + ], "uuid_attribute": "" - }, + }, "pkinit": { "__base64__": "" - }, + }, "privilege": { "aciattrs": [ - "businesscategory", - "cn", - "description", - "member", - "memberof", - "o", - "objectclass", - "ou", - "owner", + "businesscategory", + "cn", + "description", + "member", + "memberof", + "o", + "objectclass", + "ou", + "owner", "seealso" - ], + ], "attribute_members": { "member": [ - "permission", + "permission", "role" - ], + ], "memberof": [ "permission" ] - }, - "bindable": false, - "container_dn": "cn=privileges,cn=pbac", + }, + "bindable": false, + "container_dn": "cn=privileges,cn=pbac", "default_attributes": [ - "cn", - "description", - "member", - "memberof", + "cn", + "description", + "member", + "memberof", "memberindirect" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Privileges", + ], + "label": "Privileges", "methods": [ - "add", - "add_member", - "add_permission", - "del", - "find", - "mod", - "remove_member", - "remove_permission", + "add", + "add_member", + "add_permission", + "del", + "find", + "mod", + "remove_member", + "remove_permission", "show" - ], - "name": "privilege", + ], + "name": "privilege", "object_class": [ - "nestedgroup", + "nestedgroup", "groupofnames" - ], - "object_class_config": null, - "object_name": "privilege", - "object_name_plural": "privileges", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "privilege", + "object_name_plural": "privileges", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Privilege name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Privilege name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Privilege name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Privilege name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "Privilege description", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "Privilege description", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" } - ], + ], "uuid_attribute": "" - }, + }, "pwpolicy": { "aciattrs": [ - "cn", - "krbmaxpwdlife", - "krbminpwdlife", - "krbpwdfailurecountinterval", - "krbpwdhistorylength", - "krbpwdlockoutduration", - "krbpwdmaxfailure", - "krbpwdmindiffchars", - "krbpwdminlength", + "cn", + "krbmaxpwdlife", + "krbminpwdlife", + "krbpwdfailurecountinterval", + "krbpwdhistorylength", + "krbpwdlockoutduration", + "krbpwdmaxfailure", + "krbpwdmindiffchars", + "krbpwdminlength", "objectclass" - ], - "attribute_members": {}, - "bindable": false, - "container_dn": "cn=IPA14.AYOUNG.BOSTON.DEVEL.REDHAT.COM,cn=kerberos", + ], + "attribute_members": {}, + "bindable": false, + "container_dn": "cn=IPA14.AYOUNG.BOSTON.DEVEL.REDHAT.COM,cn=kerberos", "default_attributes": [ - "cn", - "cospriority", - "krbmaxpwdlife", - "krbminpwdlife", - "krbpwdhistorylength", - "krbpwdmindiffchars", - "krbpwdminlength", - "krbpwdmaxfailure", - "krbpwdfailurecountinterval", + "cn", + "cospriority", + "krbmaxpwdlife", + "krbminpwdlife", + "krbpwdhistorylength", + "krbpwdmindiffchars", + "krbpwdminlength", + "krbpwdmaxfailure", + "krbpwdfailurecountinterval", "krbpwdlockoutduration" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Password Policy", + ], + "label": "Password Policy", "methods": [ - "add", - "del", - "find", - "mod", + "add", + "del", + "find", + "mod", "show" - ], - "name": "pwpolicy", + ], + "name": "pwpolicy", "object_class": [ - "top", - "nscontainer", + "top", + "nscontainer", "krbpwdpolicy" - ], - "object_class_config": null, - "object_name": "password policy", - "object_name_plural": "password policies", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "password policy", + "object_name_plural": "password policies", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "group", - "cli_short_name": null, - "default": null, - "doc": "Manage password policy for specific group", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": false, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "group", + "cli_short_name": null, + "default": null, + "doc": "Manage password policy for specific group", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "maxlife", - "cli_short_name": null, - "default": null, - "doc": "Maximum password lifetime (in days)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Max lifetime (days)", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "krbmaxpwdlife", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "maxlife", + "cli_short_name": null, + "default": null, + "doc": "Maximum password lifetime (in days)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Max lifetime (days)", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "krbmaxpwdlife", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "minlife", - "cli_short_name": null, - "default": null, - "doc": "Minimum password lifetime (in hours)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Min lifetime (hours)", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "krbminpwdlife", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "minlife", + "cli_short_name": null, + "default": null, + "doc": "Minimum password lifetime (in hours)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Min lifetime (hours)", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "krbminpwdlife", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "history", - "cli_short_name": null, - "default": null, - "doc": "Password history size", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "History size", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "krbpwdhistorylength", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "history", + "cli_short_name": null, + "default": null, + "doc": "Password history size", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "History size", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "krbpwdhistorylength", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "minclasses", - "cli_short_name": null, - "default": null, - "doc": "Minimum number of character classes", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Character classes", - "maxvalue": 5, - "minvalue": 0, - "multivalue": false, - "name": "krbpwdmindiffchars", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "minclasses", + "cli_short_name": null, + "default": null, + "doc": "Minimum number of character classes", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Character classes", + "maxvalue": 5, + "minvalue": 0, + "multivalue": false, + "name": "krbpwdmindiffchars", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "minlength", - "cli_short_name": null, - "default": null, - "doc": "Minimum length of password", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Min length", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "krbpwdminlength", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "minlength", + "cli_short_name": null, + "default": null, + "doc": "Minimum length of password", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Min length", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "krbpwdminlength", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "priority", - "cli_short_name": null, - "default": null, - "doc": "Priority of the policy (higher number means lower priority", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Priority", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "cospriority", - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "priority", + "cli_short_name": null, + "default": null, + "doc": "Priority of the policy (higher number means lower priority", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Priority", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "cospriority", + "primary_key": false, + "query": false, + "required": true, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "maxfail", - "cli_short_name": null, - "default": null, - "doc": "Consecutive failures before lockout", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Max failures", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "krbpwdmaxfailure", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "maxfail", + "cli_short_name": null, + "default": null, + "doc": "Consecutive failures before lockout", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Max failures", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "krbpwdmaxfailure", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "failinterval", - "cli_short_name": null, - "default": null, - "doc": "Period after which failure count will be reset (seconds)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Failure reset interval", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "krbpwdfailurecountinterval", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "failinterval", + "cli_short_name": null, + "default": null, + "doc": "Period after which failure count will be reset (seconds)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Failure reset interval", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "krbpwdfailurecountinterval", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "lockouttime", - "cli_short_name": null, - "default": null, - "doc": "Period for which lockout is enforced (seconds)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Lockout duration", - "maxvalue": 2147483647, - "minvalue": 0, - "multivalue": false, - "name": "krbpwdlockoutduration", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "lockouttime", + "cli_short_name": null, + "default": null, + "doc": "Period for which lockout is enforced (seconds)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Lockout duration", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "krbpwdlockoutduration", + "primary_key": false, + "query": false, + "required": false, "type": "int" } - ], + ], "uuid_attribute": "" - }, + }, "role": { "aciattrs": [ - "businesscategory", - "cn", - "description", - "member", - "memberof", - "o", - "objectclass", - "ou", - "owner", + "businesscategory", + "cn", + "description", + "member", + "memberof", + "o", + "objectclass", + "ou", + "owner", "seealso" - ], + ], "attribute_members": { "member": [ - "user", - "group", - "host", + "user", + "group", + "host", "hostgroup" - ], + ], "memberof": [ "privilege" ] - }, - "bindable": false, - "container_dn": "cn=roles,cn=accounts", + }, + "bindable": false, + "container_dn": "cn=roles,cn=accounts", "default_attributes": [ - "cn", - "description", - "member", - "memberof", + "cn", + "description", + "member", + "memberof", "memberindirect" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Role", + ], + "label": "Role", "methods": [ - "add", - "add_member", - "add_privilege", - "del", - "find", - "mod", - "remove_member", - "remove_privilege", + "add", + "add_member", + "add_privilege", + "del", + "find", + "mod", + "remove_member", + "remove_privilege", "show" - ], - "name": "role", + ], + "name": "role", "object_class": [ - "groupofnames", + "groupofnames", "nestedgroup" - ], - "object_class_config": null, - "object_name": "role", - "object_name_plural": "roles", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "role", + "object_name_plural": "roles", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Role name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Role name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Role name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Role name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "A description of this role-group", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "A description of this role-group", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" } - ], + ], "uuid_attribute": "" - }, + }, "selfservice": { - "bindable": false, - "label": "Self Service Permissions", + "bindable": false, + "label": "Self Service Permissions", "methods": [ - "add", - "del", - "find", - "mod", + "add", + "del", + "find", + "mod", "show" - ], - "name": "selfservice", + ], + "name": "selfservice", "object_name": [ "selfservice" - ], + ], "object_name_plural": [ "selfservice" - ], - "primary_key": "aciname", + ], + "primary_key": "aciname", "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "name", - "cli_short_name": null, - "default": null, - "doc": "Self-Service name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Self-Service name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "aciname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "name", + "cli_short_name": null, + "default": null, + "doc": "Self-Service name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Self-Service name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "aciname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "List", - "cli_name": "permissions", - "cli_short_name": null, - "default": null, - "doc": "Comma-separated list of permissions to grant (read, write). Default is write.", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Permissions", - "multivalue": true, - "name": "permissions", - "primary_key": false, - "query": false, - "required": false, - "separator": ",", - "skipspace": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "permissions", + "cli_short_name": null, + "default": null, + "doc": "Comma-separated list of permissions to grant (read, write). Default is write.", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Permissions", + "multivalue": true, + "name": "permissions", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, "type": "tuple" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "List", - "cli_name": "attrs", - "cli_short_name": null, - "default": null, - "doc": "Comma-separated list of attributes", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Attributes", - "multivalue": true, - "name": "attrs", - "primary_key": false, - "query": false, - "required": true, - "separator": ",", - "skipspace": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "attrs", + "cli_short_name": null, + "default": null, + "doc": "Comma-separated list of attributes", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Attributes", + "multivalue": true, + "name": "attrs", + "primary_key": false, + "query": false, + "required": true, + "separator": ",", + "skipspace": true, "type": "tuple" } ] - }, + }, "service": { "aciattrs": [ - "ipauniqueid", - "krbcanonicalname", - "krbextradata", - "krblastfailedauth", - "krblastpwdchange", - "krblastsuccessfulauth", - "krbloginfailedcount", - "krbmaxrenewableage", - "krbmaxticketlife", - "krbobjectreferences", - "krbpasswordexpiration", - "krbprincipalaliases", - "krbprincipalexpiration", - "krbprincipalkey", - "krbprincipalname", - "krbprincipaltype", - "krbpwdhistory", - "krbpwdpolicyreference", - "krbticketflags", - "krbticketpolicyreference", - "krbupenabled", - "managedby", - "memberof", - "objectclass", + "ipauniqueid", + "krbcanonicalname", + "krbextradata", + "krblastadminunlock", + "krblastfailedauth", + "krblastpwdchange", + "krblastsuccessfulauth", + "krbloginfailedcount", + "krbmaxrenewableage", + "krbmaxticketlife", + "krbobjectreferences", + "krbpasswordexpiration", + "krbprincipalaliases", + "krbprincipalexpiration", + "krbprincipalkey", + "krbprincipalname", + "krbprincipaltype", + "krbpwdhistory", + "krbpwdpolicyreference", + "krbticketflags", + "krbticketpolicyreference", + "krbupenabled", + "managedby", + "memberof", + "objectclass", "usercertificate" - ], + ], "attribute_members": { "managedby": [ "host" ] - }, - "bindable": true, - "container_dn": "cn=services,cn=accounts", + }, + "bindable": true, + "container_dn": "cn=services,cn=accounts", "default_attributes": [ - "krbprincipalname", - "usercertificate", - "managedby", + "krbprincipalname", + "usercertificate", + "managedby", "krblastpwdchange" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Services", + ], + "label": "Services", "methods": [ - "add", - "add_host", - "del", - "disable", - "find", - "mod", - "remove_host", + "add", + "add_host", + "del", + "disable", + "find", + "mod", + "remove_host", "show" - ], - "name": "service", + ], + "name": "service", "object_class": [ - "krbprincipal", - "krbprincipalaux", - "krbticketpolicyaux", - "ipaobject", - "ipaservice", + "krbprincipal", + "krbprincipalaux", + "krbticketpolicyaux", + "ipaobject", + "ipaservice", "pkiuser" - ], - "object_class_config": null, - "object_name": "service", - "object_name_plural": "services", - "parent_object": "", - "primary_key": "krbprincipalname", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "service", + "object_name_plural": "services", + "parent_object": "", + "primary_key": "krbprincipalname", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "principal", - "cli_short_name": null, - "default": null, - "doc": "Service principal", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Principal", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "krbprincipalname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "principal", + "cli_short_name": null, + "default": null, + "doc": "Service principal", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Principal", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "krbprincipalname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Bytes", - "cli_name": "certificate", - "cli_short_name": null, - "default": null, - "doc": "Base-64 encoded server certificate", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Certificate", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "usercertificate", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Bytes", + "cli_name": "certificate", + "cli_short_name": null, + "default": null, + "doc": "Base-64 encoded server certificate", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Certificate", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "usercertificate", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "str" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "sudocmd": { "aciattrs": [ - "description", - "ipauniqueid", - "memberof", - "objectclass", + "description", + "ipauniqueid", + "memberof", + "objectclass", "sudocmd" - ], - "attribute_members": {}, - "bindable": false, - "container_dn": "cn=sudocmds,cn=sudo", + ], + "attribute_members": {}, + "bindable": false, + "container_dn": "cn=sudocmds,cn=sudo", "default_attributes": [ - "sudocmd", + "sudocmd", "description" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "SUDO Commands", + ], + "label": "SUDO Commands", "methods": [ - "add", - "del", - "find", - "mod", + "add", + "del", + "find", + "mod", "show" - ], - "name": "sudocmd", + ], + "name": "sudocmd", "object_class": [ - "ipaobject", + "ipaobject", "ipasudocmd" - ], - "object_class_config": null, - "object_name": "sudocmd", - "object_name_plural": "sudocmds", - "parent_object": "", - "primary_key": "sudocmd", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "sudocmd", + "object_name_plural": "sudocmds", + "parent_object": "", + "primary_key": "sudocmd", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "command", - "cli_short_name": null, - "default": null, - "doc": "Sudo Command", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Sudo Command", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "sudocmd", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "command", + "cli_short_name": null, + "default": null, + "doc": "Sudo Command", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Sudo Command", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "sudocmd", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "A description of this command", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "A description of this command", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "sudocmdgroup": { "aciattrs": [ - "businesscategory", - "cn", - "description", - "ipauniqueid", - "member", - "o", - "objectclass", - "ou", - "owner", + "businesscategory", + "cn", + "description", + "ipauniqueid", + "member", + "o", + "objectclass", + "ou", + "owner", "seealso" - ], + ], "attribute_members": { "member": [ - "sudocmd", + "sudocmd", "sudocmdgroup" - ], + ], "memberindirect": [ - "sudocmd", + "sudocmd", "sudocmdgroup" - ], + ], "memberof": [ "sudocmdgroup" ] - }, - "bindable": false, - "container_dn": "cn=sudocmdgroups,cn=sudo", + }, + "bindable": false, + "container_dn": "cn=sudocmdgroups,cn=sudo", "default_attributes": [ - "cn", - "description", - "member", - "memberof", + "cn", + "description", + "member", + "memberof", "memberindirect" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "SUDO Command Groups", + ], + "label": "SUDO Command Groups", "methods": [ - "add", - "add_member", - "del", - "find", - "mod", - "remove_member", + "add", + "add_member", + "del", + "find", + "mod", + "remove_member", "show" - ], - "name": "sudocmdgroup", + ], + "name": "sudocmdgroup", "object_class": [ - "ipaobject", + "ipaobject", "ipasudocmdgrp" - ], - "object_class_config": null, - "object_name": "sudocmdgroup", - "object_name_plural": "sudocmdgroups", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "", + ], + "object_class_config": null, + "object_name": "sudocmdgroup", + "object_name_plural": "sudocmdgroups", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "sudocmdgroup_name", - "cli_short_name": null, - "default": null, - "doc": "Sudo Command Group", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Sudo Command Group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "sudocmdgroup_name", + "cli_short_name": null, + "default": null, + "doc": "Sudo Command Group", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Sudo Command Group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "Group description", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "Group description", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "membercmd_sudocmd", - "cli_short_name": null, - "default": null, - "doc": "Commands", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "membercmd_sudocmd", + "cli_short_name": null, + "default": null, + "doc": "Commands", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Commands", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "membercmd_sudocmd", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Commands", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "membercmd_sudocmd", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "membercmd_sudocmdgroup", - "cli_short_name": null, - "default": null, - "doc": "Sudo Command Groups", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "membercmd_sudocmdgroup", + "cli_short_name": null, + "default": null, + "doc": "Sudo Command Groups", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Sudo Command Groups", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "membercmd_sudocmdgroup", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Sudo Command Groups", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "membercmd_sudocmdgroup", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "sudorule": { "aciattrs": [ - "cmdcategory", - "cn", - "description", - "externalhost", - "externaluser", - "hostcategory", - "hostmask", - "ipaenabledflag", - "ipasudoopt", - "ipasudorunas", - "ipasudorunasextgroup", - "ipasudorunasextuser", - "ipasudorunasgroup", - "ipasudorunasgroupcategory", - "ipasudorunasusercategory", - "ipauniqueid", - "memberallowcmd", - "memberdenycmd", - "memberhost", - "memberuser", + "cmdcategory", + "cn", + "description", + "externalhost", + "externaluser", + "hostcategory", + "hostmask", + "ipaenabledflag", + "ipasudoopt", + "ipasudorunas", + "ipasudorunasextgroup", + "ipasudorunasextuser", + "ipasudorunasgroup", + "ipasudorunasgroupcategory", + "ipasudorunasusercategory", + "ipauniqueid", + "memberallowcmd", + "memberdenycmd", + "memberhost", + "memberuser", "usercategory" - ], + ], "attribute_members": { "ipasudorunas": [ - "user", + "user", "group" - ], + ], "ipasudorunasgroup": [ "group" - ], + ], "memberallowcmd": [ - "sudocmd", + "sudocmd", "sudocmdgroup" - ], + ], "memberdenycmd": [ - "sudocmd", + "sudocmd", "sudocmdgroup" - ], + ], "memberhost": [ - "host", + "host", "hostgroup" - ], + ], "memberuser": [ - "user", + "user", "group" ] - }, - "bindable": false, - "container_dn": "cn=sudorules,cn=sudo", + }, + "bindable": false, + "container_dn": "cn=sudorules,cn=sudo", "default_attributes": [ - "cn", - "ipaenabledflag", - "description", - "usercategory", - "hostcategory", - "cmdcategory", - "memberuser", - "memberhost", - "memberallowcmd", + "cn", + "ipaenabledflag", + "description", + "usercategory", + "hostcategory", + "cmdcategory", + "memberuser", + "memberhost", + "memberallowcmd", "memberdenycmd" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "SUDO", + ], + "label": "SUDO", "methods": [ - "add", - "add_allow_command", - "add_deny_command", - "add_host", - "add_option", - "add_runasgroup", - "add_runasuser", - "add_user", - "del", - "disable", - "enable", - "find", - "mod", - "remove_allow_command", - "remove_deny_command", - "remove_host", - "remove_option", - "remove_runasgroup", - "remove_runasuser", - "remove_user", + "add", + "add_allow_command", + "add_deny_command", + "add_host", + "add_option", + "add_runasgroup", + "add_runasuser", + "add_user", + "del", + "disable", + "enable", + "find", + "mod", + "remove_allow_command", + "remove_deny_command", + "remove_host", + "remove_option", + "remove_runasgroup", + "remove_runasuser", + "remove_user", "show" - ], - "name": "sudorule", + ], + "name": "sudorule", "object_class": [ - "ipaassociation", + "ipaassociation", "ipasudorule" - ], - "object_class_config": null, - "object_name": "Sudo Rule", - "object_name_plural": "Sudo Rules", - "parent_object": "", - "primary_key": "cn", - "rdn_attribute": "ipauniqueid", + ], + "object_class_config": null, + "object_name": "Sudo Rule", + "object_name_plural": "Sudo Rules", + "parent_object": "", + "primary_key": "cn", + "rdn_attribute": "ipauniqueid", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "sudorule_name", - "cli_short_name": null, - "default": null, - "doc": "Rule name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Rule name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "sudorule_name", + "cli_short_name": null, + "default": null, + "doc": "Rule name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Rule name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "desc", - "cli_short_name": null, - "default": null, - "doc": "Description", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Description", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "description", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "desc", + "cli_short_name": null, + "default": null, + "doc": "Description", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Description", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "description", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Flag", - "cli_name": "ipaenabledflag", - "cli_short_name": null, - "default": false, - "doc": "Enabled", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "ipaenabledflag", + "cli_short_name": null, + "default": false, + "doc": "Enabled", + "exclude": null, "falsehoods": [ - 0, - "0", + 0, + "0", "false" - ], + ], "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Enabled", - "multivalue": false, - "name": "ipaenabledflag", - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Enabled", + "multivalue": false, + "name": "ipaenabledflag", + "primary_key": false, + "query": false, + "required": false, "truths": [ - "1", - 1, + "1", + 1, "true" - ], + ], "type": "bool" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "usercat", - "cli_short_name": null, - "default": null, - "doc": "User category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "User category", - "multivalue": false, - "name": "usercategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "usercat", + "cli_short_name": null, + "default": null, + "doc": "User category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User category", + "multivalue": false, + "name": "usercategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "hostcat", - "cli_short_name": null, - "default": null, - "doc": "Host category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Host category", - "multivalue": false, - "name": "hostcategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "hostcat", + "cli_short_name": null, + "default": null, + "doc": "Host category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Host category", + "multivalue": false, + "name": "hostcategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "cmdcat", - "cli_short_name": null, - "default": null, - "doc": "Command category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Command category", - "multivalue": false, - "name": "cmdcategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "cmdcat", + "cli_short_name": null, + "default": null, + "doc": "Command category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Command category", + "multivalue": false, + "name": "cmdcategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "runasusercat", - "cli_short_name": null, - "default": null, - "doc": "Run As User category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Run As User category", - "multivalue": false, - "name": "ipasudorunasusercategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "runasusercat", + "cli_short_name": null, + "default": null, + "doc": "Run As User category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Run As User category", + "multivalue": false, + "name": "ipasudorunasusercategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "StrEnum", - "cli_name": "runasgroupcat", - "cli_short_name": null, - "default": null, - "doc": "Run As Group category the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Run As Group category", - "multivalue": false, - "name": "ipasudorunasgroupcategory", - "primary_key": false, - "query": false, - "required": false, - "type": "unicode", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "runasgroupcat", + "cli_short_name": null, + "default": null, + "doc": "Run As Group category the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Run As Group category", + "multivalue": false, + "name": "ipasudorunasgroupcategory", + "primary_key": false, + "query": false, + "required": false, + "type": "unicode", "values": [ "all" ] - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberuser_user", - "cli_short_name": null, - "default": null, - "doc": "Users", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberuser_user", + "cli_short_name": null, + "default": null, + "doc": "Users", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Users", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberuser_user", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Users", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberuser_user", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberhost_host", - "cli_short_name": null, - "default": null, - "doc": "Hosts", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberhost_host", + "cli_short_name": null, + "default": null, + "doc": "Hosts", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Hosts", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberhost_host", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Hosts", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberhost_host", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberhost_hostgroup", - "cli_short_name": null, - "default": null, - "doc": "Host Groups", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberhost_hostgroup", + "cli_short_name": null, + "default": null, + "doc": "Host Groups", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Host Groups", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberhost_hostgroup", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Host Groups", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberhost_hostgroup", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberallowcmd_sudocmd", - "cli_short_name": null, - "default": null, - "doc": "Sudo Allow Commands", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberallowcmd_sudocmd", + "cli_short_name": null, + "default": null, + "doc": "Sudo Allow Commands", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Sudo Allow Commands", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberallowcmd_sudocmd", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Sudo Allow Commands", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberallowcmd_sudocmd", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberdenycmd_sudocmd", - "cli_short_name": null, - "default": null, - "doc": "Sudo Deny Commands", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberdenycmd_sudocmd", + "cli_short_name": null, + "default": null, + "doc": "Sudo Deny Commands", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Sudo Deny Commands", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberdenycmd_sudocmd", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Sudo Deny Commands", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberdenycmd_sudocmd", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberallowcmd_sudocmdgroup", - "cli_short_name": null, - "default": null, - "doc": "Sudo Command Groups", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberallowcmd_sudocmdgroup", + "cli_short_name": null, + "default": null, + "doc": "Sudo Command Groups", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Sudo Command Groups", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberallowcmd_sudocmdgroup", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Sudo Command Groups", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberallowcmd_sudocmdgroup", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "memberdenycmd_sudocmdgroup", - "cli_short_name": null, - "default": null, - "doc": "Sudo Command Groups", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "memberdenycmd_sudocmdgroup", + "cli_short_name": null, + "default": null, + "doc": "Sudo Command Groups", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Sudo Command Groups", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "memberdenycmd_sudocmdgroup", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Sudo Command Groups", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "memberdenycmd_sudocmdgroup", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "ipasudorunas_user", - "cli_short_name": null, - "default": null, - "doc": "Run As User", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "ipasudorunas_user", + "cli_short_name": null, + "default": null, + "doc": "Run As User", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Run As User", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "ipasudorunas_user", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Run As User", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ipasudorunas_user", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "ipasudorunasgroup_group", - "cli_short_name": null, - "default": null, - "doc": "Run As Group", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "ipasudorunasgroup_group", + "cli_short_name": null, + "default": null, + "doc": "Run As Group", + "exclude": null, "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Run As Group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "ipasudorunasgroup_group", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Run As Group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ipasudorunasgroup_group", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "externaluser", - "cli_short_name": null, - "default": null, - "doc": "External User the rule applies to", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "External User", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "externaluser", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "externaluser", + "cli_short_name": null, + "default": null, + "doc": "External User the rule applies to", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "External User", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "externaluser", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "runasexternaluser", - "cli_short_name": null, - "default": null, - "doc": "External User the commands can run as", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "RunAs External User", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "ipasudorunasextuser", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "runasexternaluser", + "cli_short_name": null, + "default": null, + "doc": "External User the commands can run as", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "RunAs External User", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ipasudorunasextuser", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "runasexternalgroup", - "cli_short_name": null, - "default": null, - "doc": "External Group the commands can run as", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "RunAs External Group", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "ipasudorunasextgroup", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "runasexternalgroup", + "cli_short_name": null, + "default": null, + "doc": "External Group the commands can run as", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "RunAs External Group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ipasudorunasextgroup", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" } - ], + ], "uuid_attribute": "ipauniqueid" - }, + }, "user": { "aciattrs": [ - "audio", - "businesscategory", - "carlicense", - "cn", - "departmentnumber", - "description", - "destinationindicator", - "displayname", - "employeenumber", - "employeetype", - "facsimiletelephonenumber", - "gecos", - "gidnumber", - "givenname", - "homedirectory", - "homephone", - "homepostaladdress", - "inetuserhttpurl", - "inetuserstatus", - "initials", - "internationalisdnnumber", - "ipauniqueid", - "jpegphoto", - "krbcanonicalname", - "krbextradata", - "krblastfailedauth", - "krblastpwdchange", - "krblastsuccessfulauth", - "krbloginfailedcount", - "krbmaxrenewableage", - "krbmaxticketlife", - "krbpasswordexpiration", - "krbprincipalaliases", - "krbprincipalexpiration", - "krbprincipalkey", - "krbprincipalname", - "krbprincipaltype", - "krbpwdhistory", - "krbpwdpolicyreference", - "krbticketflags", - "krbticketpolicyreference", - "krbupenabled", - "l", - "labeleduri", - "loginshell", - "mail", - "manager", - "memberof", - "mepmanagedentry", - "mobile", - "o", - "objectclass", - "ou", - "pager", - "photo", - "physicaldeliveryofficename", - "postaladdress", - "postalcode", - "postofficebox", - "preferreddeliverymethod", - "preferredlanguage", - "registeredaddress", - "roomnumber", - "secretary", - "seealso", - "sn", - "st", - "street", - "telephonenumber", - "teletexterminalidentifier", - "telexnumber", - "title", - "uid", - "uidnumber", - "usercertificate", - "userpassword", - "userpkcs12", - "usersmimecertificate", - "x121address", + "audio", + "businesscategory", + "carlicense", + "cn", + "departmentnumber", + "description", + "destinationindicator", + "displayname", + "employeenumber", + "employeetype", + "facsimiletelephonenumber", + "gecos", + "gidnumber", + "givenname", + "homedirectory", + "homephone", + "homepostaladdress", + "inetuserhttpurl", + "inetuserstatus", + "initials", + "internationalisdnnumber", + "ipauniqueid", + "jpegphoto", + "krbcanonicalname", + "krbextradata", + "krblastadminunlock", + "krblastfailedauth", + "krblastpwdchange", + "krblastsuccessfulauth", + "krbloginfailedcount", + "krbmaxrenewableage", + "krbmaxticketlife", + "krbpasswordexpiration", + "krbprincipalaliases", + "krbprincipalexpiration", + "krbprincipalkey", + "krbprincipalname", + "krbprincipaltype", + "krbpwdhistory", + "krbpwdpolicyreference", + "krbticketflags", + "krbticketpolicyreference", + "krbupenabled", + "l", + "labeleduri", + "loginshell", + "mail", + "manager", + "memberof", + "mepmanagedentry", + "mobile", + "o", + "objectclass", + "ou", + "pager", + "photo", + "physicaldeliveryofficename", + "postaladdress", + "postalcode", + "postofficebox", + "preferreddeliverymethod", + "preferredlanguage", + "registeredaddress", + "roomnumber", + "secretary", + "seealso", + "sn", + "st", + "street", + "telephonenumber", + "teletexterminalidentifier", + "telexnumber", + "title", + "uid", + "uidnumber", + "usercertificate", + "userpassword", + "userpkcs12", + "usersmimecertificate", + "x121address", "x500uniqueidentifier" - ], + ], "attribute_members": { "memberof": [ - "group", - "netgroup", + "group", + "netgroup", "role" ] - }, - "bindable": true, - "container_dn": "cn=users,cn=accounts", + }, + "bindable": true, + "container_dn": "cn=users,cn=accounts", "default_attributes": [ - "uid", - "givenname", - "sn", - "homedirectory", - "loginshell", - "ou", - "telephonenumber", - "title", - "memberof", + "uid", + "givenname", + "sn", + "homedirectory", + "loginshell", + "ou", + "telephonenumber", + "title", + "memberof", "nsaccountlock" - ], + ], "hidden_attributes": [ - "objectclass", + "objectclass", "aci" - ], - "label": "Users", + ], + "label": "Users", "methods": [ - "add", - "del", - "disable", - "enable", - "find", - "mod", - "show" - ], - "name": "user", + "add", + "del", + "disable", + "enable", + "find", + "mod", + "show", + "unlock" + ], + "name": "user", "object_class": [ "posixaccount" - ], - "object_class_config": "ipauserobjectclasses", - "object_name": "user", - "object_name_plural": "users", - "parent_object": "", - "primary_key": "uid", - "rdn_attribute": "", + ], + "object_class_config": "ipauserobjectclasses", + "object_name": "user", + "object_name_plural": "users", + "parent_object": "", + "primary_key": "uid", + "rdn_attribute": "", "relationships": { "member": [ - "Member", - "", + "Member", + "", "no_" - ], + ], "memberindirect": [ - "Indirect Member", - null, + "Indirect Member", + null, "no_indirect_" - ], + ], "memberof": [ - "Member Of", - "in_", + "Member Of", + "in_", "not_in_" ] - }, + }, "takes_params": [ { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "login", - "cli_short_name": null, - "default": null, - "doc": "User login", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "User login", - "length": null, - "maxlength": 255, - "minlength": null, - "multivalue": false, - "name": "uid", - "pattern": "^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$", - "pattern_errmsg": "may only include letters, numbers, _, -, . and $", - "primary_key": true, - "query": false, - "required": true, + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "login", + "cli_short_name": null, + "default": null, + "doc": "User login", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User login", + "length": null, + "maxlength": 255, + "minlength": null, + "multivalue": false, + "name": "uid", + "pattern": "^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$", + "pattern_errmsg": "may only include letters, numbers, _, -, . and $", + "primary_key": true, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "first", - "cli_short_name": null, - "default": null, - "doc": "First name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "First name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "givenname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "first", + "cli_short_name": null, + "default": null, + "doc": "First name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "First name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "givenname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "last", - "cli_short_name": null, - "default": null, - "doc": "Last name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Last name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "sn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": true, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "last", + "cli_short_name": null, + "default": null, + "doc": "Last name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Last name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "sn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Str", - "cli_name": "cn", - "cli_short_name": null, - "default": null, - "doc": "Full name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Full name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "cn", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "cn", + "cli_short_name": null, + "default": null, + "doc": "Full name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Full name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Str", - "cli_name": "displayname", - "cli_short_name": null, - "default": null, - "doc": "Display name", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Display name", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "displayname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "displayname", + "cli_short_name": null, + "default": null, + "doc": "Display name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Display name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "displayname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Str", - "cli_name": "initials", - "cli_short_name": null, - "default": null, - "doc": "Initials", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Initials", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "initials", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "initials", + "cli_short_name": null, + "default": null, + "doc": "Initials", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Initials", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "initials", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "homedir", - "cli_short_name": null, - "default": null, - "doc": "Home directory", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Home directory", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "homedirectory", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "homedir", + "cli_short_name": null, + "default": null, + "doc": "Home directory", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Home directory", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "homedirectory", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Str", - "cli_name": "gecos", - "cli_short_name": null, - "default": null, - "doc": "GECOS field", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "GECOS field", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "gecos", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "gecos", + "cli_short_name": null, + "default": null, + "doc": "GECOS field", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "GECOS field", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "gecos", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "shell", - "cli_short_name": null, - "default": "/bin/sh", - "doc": "Login shell", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Login shell", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "loginshell", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "shell", + "cli_short_name": null, + "default": "/bin/sh", + "doc": "Login shell", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Login shell", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "loginshell", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Str", - "cli_name": "principal", - "cli_short_name": null, - "default": null, - "doc": "Kerberos principal", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "principal", + "cli_short_name": null, + "default": null, + "doc": "Kerberos principal", + "exclude": null, "flags": [ "no_update" - ], - "hint": null, - "include": null, - "label": "Kerberos principal", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "krbprincipalname", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Kerberos principal", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "krbprincipalname", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "email", - "cli_short_name": null, - "default": null, - "doc": "Email address", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Email address", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": true, - "name": "mail", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "email", + "cli_short_name": null, + "default": null, + "doc": "Email address", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Email address", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "mail", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Password", - "cli_name": "password", - "cli_short_name": null, - "default": null, - "doc": "Prompt to set the user password", + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Password", + "cli_name": "password", + "cli_short_name": null, + "default": null, + "doc": "Prompt to set the user password", "exclude": [ "webui" - ], - "flags": [], - "hint": null, - "include": null, - "label": "Password", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "userpassword", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + ], + "flags": [], + "hint": null, + "include": null, + "label": "Password", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "userpassword", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": true, - "class": "Int", - "cli_name": "uid", - "cli_short_name": null, - "default": 999, - "doc": "User ID Number (system will assign one if not provided)", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "UID", - "maxvalue": 2147483647, - "minvalue": 1, - "multivalue": false, - "name": "uidnumber", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "uid", + "cli_short_name": null, + "default": 999, + "doc": "User ID Number (system will assign one if not provided)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "UID", + "maxvalue": 2147483647, + "minvalue": 1, + "multivalue": false, + "name": "uidnumber", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "gidnumber", - "cli_short_name": null, - "default": null, - "doc": "Group ID Number", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "GID", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "gidnumber", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "gidnumber", + "cli_short_name": null, + "default": null, + "doc": "Group ID Number", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "GID", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "gidnumber", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "street", - "cli_short_name": null, - "default": null, - "doc": "Street address", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Street address", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "street", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "street", + "cli_short_name": null, + "default": null, + "doc": "Street address", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Street address", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "street", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "city", - "cli_short_name": null, - "default": null, - "doc": "City", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "City", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "location", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "city", + "cli_short_name": null, + "default": null, + "doc": "City", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "City", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "location", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "state", - "cli_short_name": null, - "default": null, - "doc": "State", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "State", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "state", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "state", + "cli_short_name": null, + "default": null, + "doc": "State", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "State", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "state", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Int", - "cli_name": "postalcode", - "cli_short_name": null, - "default": null, - "doc": "ZIP", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "ZIP", - "maxvalue": 2147483647, - "minvalue": null, - "multivalue": false, - "name": "postalcode", - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "postalcode", + "cli_short_name": null, + "default": null, + "doc": "ZIP", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "ZIP", + "maxvalue": 2147483647, + "minvalue": null, + "multivalue": false, + "name": "postalcode", + "primary_key": false, + "query": false, + "required": false, "type": "int" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "phone", - "cli_short_name": null, - "default": null, - "doc": "Telephone Number", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Telephone Number", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": true, - "name": "telephonenumber", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "phone", + "cli_short_name": null, + "default": null, + "doc": "Telephone Number", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Telephone Number", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "telephonenumber", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "mobile", - "cli_short_name": null, - "default": null, - "doc": "Mobile Telephone Number", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Mobile Telephone Number", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": true, - "name": "mobile", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "mobile", + "cli_short_name": null, + "default": null, + "doc": "Mobile Telephone Number", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Mobile Telephone Number", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "mobile", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "pager", - "cli_short_name": null, - "default": null, - "doc": "Pager Number", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Pager Number", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": true, - "name": "pager", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "pager", + "cli_short_name": null, + "default": null, + "doc": "Pager Number", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Pager Number", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "pager", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "fax", - "cli_short_name": null, - "default": null, - "doc": "Fax Number", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Fax Number", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": true, - "name": "facsimiletelephonenumber", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "fax", + "cli_short_name": null, + "default": null, + "doc": "Fax Number", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Fax Number", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "facsimiletelephonenumber", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "orgunit", - "cli_short_name": null, - "default": null, - "doc": "Org. Unit", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Org. Unit", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "ou", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "orgunit", + "cli_short_name": null, + "default": null, + "doc": "Org. Unit", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Org. Unit", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ou", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "title", - "cli_short_name": null, - "default": null, - "doc": "Job Title", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Job Title", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "title", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "title", + "cli_short_name": null, + "default": null, + "doc": "Job Title", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Job Title", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "title", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "manager", - "cli_short_name": null, - "default": null, - "doc": "Manager", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Manager", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "manager", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "manager", + "cli_short_name": null, + "default": null, + "doc": "Manager", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Manager", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "manager", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Str", - "cli_name": "carlicense", - "cli_short_name": null, - "default": null, - "doc": "Car License", - "exclude": null, - "flags": [], - "hint": null, - "include": null, - "label": "Car License", - "length": null, - "maxlength": null, - "minlength": null, - "multivalue": false, - "name": "carlicense", - "pattern": null, - "pattern_errmsg": null, - "primary_key": false, - "query": false, - "required": false, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "carlicense", + "cli_short_name": null, + "default": null, + "doc": "Car License", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Car License", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "carlicense", + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, "type": "unicode" - }, - { - "alwaysask": false, - "attribute": false, - "autofill": false, - "class": "Bool", - "cli_name": "nsaccountlock", - "cli_short_name": null, - "default": null, - "doc": "Account disabled", - "exclude": null, + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Bool", + "cli_name": "nsaccountlock", + "cli_short_name": null, + "default": null, + "doc": "Account disabled", + "exclude": null, "falsehoods": [ - 0, - "0", + 0, + "0", "false" - ], + ], "flags": [ - "no_update", - "no_create", + "no_update", + "no_create", "no_search" - ], - "hint": null, - "include": null, - "label": "Account disabled", - "multivalue": false, - "name": "nsaccountlock", - "primary_key": false, - "query": false, - "required": false, + ], + "hint": null, + "include": null, + "label": "Account disabled", + "multivalue": false, + "name": "nsaccountlock", + "primary_key": false, + "query": false, + "required": false, "truths": [ - "1", - 1, + "1", + 1, "true" - ], + ], "type": "bool" } - ], + ], "uuid_attribute": "ipauniqueid" } } - }, + }, { - "error": null, + "error": null, "messages": { "ajax": { "401": "Your kerberos ticket no longer valid.Please run KInit and then click 'retry'If this is your first time running the IPA Web UI Follow these directions to configure your browser." - }, + }, "association": { - "managedby": "Managed by", - "members": "Members", + "managedby": "Managed by", + "members": "Members", "membershipin": "Membership in" - }, + }, "button": { - "add": "Add", - "enroll": "Enroll", - "find": "Find", - "remove": "Delete", - "reset": "Reset", + "add": "Add", + "enroll": "Enroll", + "find": "Find", + "remove": "Delete", + "reset": "Reset", "update": "Update" - }, + }, "details": { - "account": "Account Settings", - "contact": "Contact Settings", - "employee": "Employee Information", - "identity": "Identity Settings", - "mailing": "Mailing Address", - "misc": "Misc. Information", + "account": "Account Settings", + "contact": "Contact Settings", + "employee": "Employee Information", + "identity": "Identity Settings", + "mailing": "Mailing Address", + "misc": "Misc. Information", "to_top": "Back to Top" - }, - "dirty": "This page has unsaved changes. Please save or revert.", + }, + "dirty": "This page has unsaved changes. Please save or revert.", "facets": { - "details": "Settings", + "details": "Settings", "search": "Search" - }, + }, "login": { "header": "Logged In As" - }, + }, "search": { - "delete_confirm": "Are you sure you want to delete selected entries?", - "quick_links": "Quick Links", - "select_all": "Select All", + "delete_confirm": "Are you sure you want to delete selected entries?", + "quick_links": "Quick Links", + "select_all": "Select All", "unselect_all": "Unselect All" - }, + }, "tabs": { - "audit": "Audit", - "hbac": "HBAC", - "identity": "Identity", - "ipaserver": "IPA Server", - "policy": "Policy", - "role": "Role Based Access Control", + "audit": "Audit", + "hbac": "HBAC", + "identity": "Identity", + "ipaserver": "IPA Server", + "policy": "Policy", + "role": "Role Based Access Control", "sudo": "SUDO" } } - }, + }, { - "count": 1, - "error": null, + "count": 1, + "error": null, "result": [ { "cn": [ "Administrator" - ], - "dn": "uid=admin,cn=users,cn=accounts,dc=ipa14,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + ], + "dn": "uid=admin,cn=users,cn=accounts,dc=ipa14,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", "gecos": [ "Administrator" - ], + ], "gidnumber": [ - "1256800000" - ], + "1420800000" + ], "homedirectory": [ "/home/admin" - ], + ], "ipauniqueid": [ - "37800f46-2983-11e0-abc5-52540029a798" - ], + "d9a55ece-2e2a-11e0-87ba-52540029a798" + ], "krblastpwdchange": [ - "20110126193538Z" - ], + "20110201174537Z" + ], "krblastsuccessfulauth": [ - "20110127024034Z" - ], + "20110201174706Z" + ], "krbpasswordexpiration": [ - "20110426193538Z" - ], + "20110502174537Z" + ], "krbprincipalname": [ "admin@IPA14.AYOUNG.BOSTON.DEVEL.REDHAT.COM" - ], + ], "loginshell": [ "/bin/bash" - ], + ], "memberof_group": [ "admins" - ], + ], "nsaccountlock": [ "False" - ], + ], "objectclass": [ - "top", - "person", - "posixaccount", - "krbprincipalaux", - "krbticketpolicyaux", - "inetuser", + "top", + "person", + "posixaccount", + "krbprincipalaux", + "krbticketpolicyaux", + "inetuser", "ipaobject" - ], + ], "sn": [ "Administrator" - ], + ], "uid": [ "admin" - ], + ], "uidnumber": [ - "1256800000" + "1420800000" ] } - ], - "summary": "1 user matched", + ], + "summary": "1 user matched", "truncated": false - }, + }, { - "count": 66, - "error": null, + "count": 66, + "error": null, "result": { - "basedn": "dc=ipa14,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", - "bin": "/var/www", - "ca_agent_port": 9443, - "ca_ee_port": 9444, - "ca_host": "ipa14.ayoung.boston.devel.redhat.com", - "ca_port": 9180, - "conf": "/etc/ipa/server.conf", - "conf_default": "/etc/ipa/default.conf", - "confdir": "/etc/ipa", - "config_loaded": true, - "container_accounts": "cn=accounts", - "container_applications": "cn=applications,cn=configs,cn=policies", - "container_automount": "cn=automount", - "container_configs": "cn=configs,cn=policies", - "container_dns": "cn=dns", - "container_group": "cn=groups,cn=accounts", - "container_hbac": "cn=hbac", - "container_hbacservice": "cn=hbacservices,cn=hbac", - "container_hbacservicegroup": "cn=hbacservicegroups,cn=hbac", - "container_host": "cn=computers,cn=accounts", - "container_hostgroup": "cn=hostgroups,cn=accounts", - "container_netgroup": "cn=ng,cn=alt", - "container_permission": "cn=permissions,cn=pbac", - "container_policies": "cn=policies", - "container_policygroups": "cn=policygroups,cn=configs,cn=policies", - "container_policylinks": "cn=policylinks,cn=configs,cn=policies", - "container_privilege": "cn=privileges,cn=pbac", - "container_rolegroup": "cn=roles,cn=accounts", - "container_roles": "cn=roles,cn=policies", - "container_service": "cn=services,cn=accounts", - "container_sudocmd": "cn=sudocmds,cn=sudo", - "container_sudocmdgroup": "cn=sudocmdgroups,cn=sudo", - "container_sudorule": "cn=sudorules,cn=sudo", - "container_user": "cn=users,cn=accounts", - "container_virtual": "cn=virtual operations,cn=etc", - "context": "server", - "debug": false, - "domain": "ayoung.boston.devel.redhat.com", - "dot_ipa": "/var/www/.ipa", - "enable_ra": true, - "fallback": true, - "home": "/var/www", - "host": "ipa14.ayoung.boston.devel.redhat.com", - "in_server": true, - "in_tree": false, - "interactive": true, - "ipalib": "/usr/lib/python2.7/site-packages/ipalib", - "ldap_uri": "ldapi://%2fvar%2frun%2fslapd-IPA14-AYOUNG-BOSTON-DEVEL-REDHAT-COM.socket", - "log": null, - "logdir": "/var/log/ipa", - "mode": "production", - "mount_ipa": "/ipa/", - "mount_jsonserver": "json", - "mount_xmlserver": "xml", - "prompt_all": false, - "ra_plugin": "selfsign", - "realm": "IPA14.AYOUNG.BOSTON.DEVEL.REDHAT.COM", - "rpc_json_uri": "http://localhost:8888/ipa/json", - "script": "/var/www/mod_wsgi", - "site_packages": "/usr/lib/python2.7/site-packages", - "startup_traceback": false, - "validate_api": false, - "verbose": 0, - "webui_assets_dir": null, - "webui_prod": true, + "basedn": "dc=ipa14,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", + "bin": "/var/www", + "ca_agent_port": 9443, + "ca_ee_port": 9444, + "ca_host": "ipa14.ayoung.boston.devel.redhat.com", + "ca_port": 9180, + "conf": "/etc/ipa/server.conf", + "conf_default": "/etc/ipa/default.conf", + "confdir": "/etc/ipa", + "config_loaded": true, + "container_accounts": "cn=accounts", + "container_applications": "cn=applications,cn=configs,cn=policies", + "container_automount": "cn=automount", + "container_configs": "cn=configs,cn=policies", + "container_dns": "cn=dns", + "container_group": "cn=groups,cn=accounts", + "container_hbac": "cn=hbac", + "container_hbacservice": "cn=hbacservices,cn=hbac", + "container_hbacservicegroup": "cn=hbacservicegroups,cn=hbac", + "container_host": "cn=computers,cn=accounts", + "container_hostgroup": "cn=hostgroups,cn=accounts", + "container_netgroup": "cn=ng,cn=alt", + "container_permission": "cn=permissions,cn=pbac", + "container_policies": "cn=policies", + "container_policygroups": "cn=policygroups,cn=configs,cn=policies", + "container_policylinks": "cn=policylinks,cn=configs,cn=policies", + "container_privilege": "cn=privileges,cn=pbac", + "container_rolegroup": "cn=roles,cn=accounts", + "container_roles": "cn=roles,cn=policies", + "container_service": "cn=services,cn=accounts", + "container_sudocmd": "cn=sudocmds,cn=sudo", + "container_sudocmdgroup": "cn=sudocmdgroups,cn=sudo", + "container_sudorule": "cn=sudorules,cn=sudo", + "container_user": "cn=users,cn=accounts", + "container_virtual": "cn=virtual operations,cn=etc", + "context": "server", + "debug": false, + "domain": "ayoung.boston.devel.redhat.com", + "dot_ipa": "/var/www/.ipa", + "enable_ra": true, + "fallback": true, + "home": "/var/www", + "host": "ipa14.ayoung.boston.devel.redhat.com", + "in_server": true, + "in_tree": false, + "interactive": true, + "ipalib": "/usr/lib/python2.7/site-packages/ipalib", + "ldap_uri": "ldapi://%2fvar%2frun%2fslapd-IPA14-AYOUNG-BOSTON-DEVEL-REDHAT-COM.socket", + "log": null, + "logdir": "/var/log/ipa", + "mode": "production", + "mount_ipa": "/ipa/", + "mount_jsonserver": "json", + "mount_xmlserver": "xml", + "prompt_all": false, + "ra_plugin": "selfsign", + "realm": "IPA14.AYOUNG.BOSTON.DEVEL.REDHAT.COM", + "rpc_json_uri": "http://localhost:8888/ipa/json", + "script": "/var/www/mod_wsgi", + "site_packages": "/usr/lib/python2.7/site-packages", + "startup_traceback": false, + "validate_api": false, + "verbose": 0, + "webui_assets_dir": null, + "webui_prod": true, "xmlrpc_uri": "https://ipa14.ayoung.boston.devel.redhat.com/ipa/xml" - }, - "summary": "66 variables", + }, + "summary": "66 variables", "total": 66 - }, + }, { - "error": null, - "result": true, - "summary": null, + "error": null, + "result": true, + "summary": null, "value": "" } ] diff --git a/install/ui/test/widget_tests.js b/install/ui/test/widget_tests.js index 75837777..3d827cdb 100644 --- a/install/ui/test/widget_tests.js +++ b/install/ui/test/widget_tests.js @@ -29,7 +29,6 @@ module('widget',{ "data", true, function(data, text_status, xhr) { - ok(true, "ipa_init() succeeded."); }, function(xhr, text_status, error_thrown) { ok(false, "ipa_init() failed: "+error_thrown); @@ -42,9 +41,8 @@ module('widget',{ }} ); - - -function base_widget_test(widget,entity_name, field_name,value){ +function base_widget_test(widget,entity_name, value){ + var field_name = widget.name; ok (widget, "Created Widget"); widget.init(); ok(!widget.label,'widget with no entity has no label'); @@ -85,29 +83,10 @@ function widget_string_test(widget, value){ } -test("Testing base widget.", function() { - var update_called = false; - var spec = { - update:function(){ - update_called = true; - } - }; - var widget = IPA.widget(spec); - base_widget_test(widget,'user','title','test_value'); - widget_string_test(widget); - ok (update_called, 'Update called'); - -}); - - -test("Testing text widget.", function() { - var widget = IPA.text_widget({undo:true}); - base_widget_test(widget,'user','title','test_value'); - widget_string_test(widget); +function text_tests(widget,input){ - var input = $('input[type=text]',widget_container); input.val('changed'); input.keyup(); same(widget.save(),['changed'], "Setting Value"); @@ -136,11 +115,85 @@ test("Testing text widget.", function() { widget.param_info.pattern = old_pattern; +} + +test("IPA.table_widget" ,function(){ + var widget = IPA.table_widget({undo:true,name:'users'}); + + widget.add_column(IPA.column({ + name:'uid', + label:'User ID', + primary_key:'uid', + width:'20em', + entity_name:'user' + })); + widget.add_column(IPA.column({ + name:'title', + lable:'Title', + primary_key:'uid', + width:'20em', + entity_name:'user' + })); + + widget.init(); + + ok(!widget.container,'widget has no container before setup'); + widget.create(widget_container); + widget.setup(widget_container); + + ok(widget.container,'widget has container after setup'); + + + var mock_results = { + users:[{ uid: 'kfrog', title:'reporter' }, + { uid: 'grover',title:'waiter' }] + }; + + widget.load(mock_results); + + same ($('tr' ,widget_container).length, 4, 'four rows after load'); + + +}); + + +test("Testing base widget.", function() { + var update_called = false; + var spec = { + name:'title', + update:function(){ + update_called = true; + } + }; + + var widget = IPA.widget(spec); + base_widget_test(widget,'user','test_value'); + widget_string_test(widget); + ok (update_called, 'Update called'); + +}); + + +test("IPA.textarea_widget" ,function(){ + var widget = IPA.textarea_widget({undo:true,name:'title'}); + base_widget_test(widget,'user','test_value'); + widget_string_test(widget); + text_tests(widget, $('textarea',widget_container)); + +}); + + +test("Testing text widget.", function() { + var widget = IPA.text_widget({undo:true,name:'title'}); + base_widget_test(widget,'user','test_value'); + widget_string_test(widget); + text_tests(widget, $('input[type=text]',widget_container)); + }); test("Testing checkbox widget.", function() { - var widget = IPA.checkbox_widget(); - base_widget_test(widget,'user','title','test_value'); + var widget = IPA.checkbox_widget({name:'title'}); + base_widget_test(widget,'user','test_value'); mock_record = {'title':'something'}; @@ -164,3 +217,63 @@ test("Testing checkbox widget.", function() { }); + +test("IPA.checkboxes_widget" ,function(){ + var widget = IPA.checkboxes_widget({undo:true, name:'title' }); + base_widget_test(widget,'user','test_value'); + +}); +test("IPA.select_widget" ,function(){ + + var widget = IPA.select_widget({undo:true,name:'title'}); + base_widget_test(widget,'user','test_value'); + +}); + + +test("IPA.entity_select_widget" ,function(){ + var widget = IPA.entity_select_widget({ + name: 'uid', entity:'user',field_name:'uid'}); + base_widget_test(widget,'user','test_value'); + ok( $('#uid-entity-select option').length > 1,"options populatedfrom AJAX"); + mock_record = {'uid':'kfrog'}; + widget.load(mock_record); + same(widget.values[0],'kfrog','select set from values'); +}); + + + + +test("IPA.radio_widget" ,function(){ + var options = [{label:"Engineer",value:"engineer"}, + {label:"Manager", value:"manager"}, + {label:"Director",value:"director"}, + {label:"Vice President",value:"VP"}]; + var widget = IPA.radio_widget({undo:true, name: 'title',options:options}); + base_widget_test(widget,'user','test_value'); + var mock_record = {'title':["director"]}; + widget.load(mock_record); + var values = widget.save(); + same(values[0],'director','Options set correctly'); + + mock_record = {'title':"VP"}; + widget.load(mock_record); + values = widget.save(); + same(values[0],'VP','Options set correctly'); + + var i =0; + $('label', widget_container).each( function(){ + same( $(this).text(),options[i].label, 'labels match'); + i += 1; + }); + +}); + + + + + + + + + diff --git a/install/ui/widget.js b/install/ui/widget.js index 8c080787..9f6365a0 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -282,7 +282,7 @@ IPA.text_widget = function(spec) { if(that.undo){ that.show_undo(); } - var value = $('input[name="'+that.name+'"]', that.container).val(); + var value = $(this).val(); that.validate_input(value); }); @@ -520,10 +520,21 @@ IPA.radio_widget = function(spec) { }; that.update = function() { - if (that.values && that.values.length) { - var input = $('input[name="'+that.name+'"][value="'+that.values[0]+'"]', that.container); + + + + if (that.values) { + var value; + if ((that.values instanceof Array ) && that.values.length){ + value = that.values[0] + }else{ + value = that.values; + } + + var input = $('input[name="'+that.name+'"][value="'+value+'"]', + that.container); if (input.length) { - input.get(0).checked = true; + input.attr('checked', true); return; } } @@ -637,6 +648,13 @@ IPA.textarea_widget = function (spec) { if (that.undo) { that.create_undo(container); } + + $("",{ + name:'error_link', + html:"Text does not match field pattern", + "class":"ui-state-error ui-corner-all", + style:"display:none" + }).appendTo(container); }; that.setup = function(container) { @@ -646,6 +664,10 @@ IPA.textarea_widget = function (spec) { var input = $('textarea[name="'+that.name+'"]', that.container); input.keyup(function() { undo.css('display', 'inline'); + + var value = $(this).val(); + that.validate_input(value); + }); var undo = that.get_undo(); @@ -677,35 +699,6 @@ IPA.textarea_widget = function (spec) { return that; }; -IPA.button_widget = function (spec) { - - spec = spec || {}; - - spec.setup = spec.setup || setup; - spec.load = spec.load || load; - spec.save = spec.save || save; - - var that = IPA.widget(spec); - - that.click = spec.click; - - function setup(container) { - - that.widget_setup(container); - - var input = $('[name="'+that.name+'"]', that.container); - input.replaceWith(IPA.button({ 'label': that.label, 'click': that.click })); - } - - function load(record) { - } - - function save() { - return []; - } - - return that; -}; IPA.column = function (spec) { @@ -1066,19 +1059,23 @@ IPA.entity_select_widget = function(spec){ var that = IPA.widget(spec); var entity = spec.entity || 'group'; + var field_name = spec.field_name || 'cn'; function populate_select(value){ function find_success(result){ $('option', that.entity_select).remove(); var entities = result.result.result; for (var i =0; i < result.result.count; i +=1){ + var entity = entities[i]; + var field_array = entity[field_name]; + var field_value = field_array[0]; var option = $('