Imported Upstream version 4.8.10

This commit is contained in:
Mario Fetka
2021-10-03 11:06:28 +02:00
parent 10dfc9587b
commit 03a8170b15
2361 changed files with 1883897 additions and 338759 deletions

View File

@@ -1 +0,0 @@
http://www.freeipa.org/page/UI_Unit_Tests

28
install/ui/test/README.md Normal file
View File

@@ -0,0 +1,28 @@
# WebUI Unit Tests
## Prerequisites
1. Run `./autogen.sh` command in the root of the repository
2. Run `make -C install/ui/src/libs/` - this step generates loader.js which is necessary for load
current API version into WebUI. This version is necessary for checking
response of each API call.
## Running tests:
### In browser
1. Go to install/ui/test
2. Run `firefox index.html`
Only Firefox browser is supported, because Google Chrome does not allow
to fetch files using AJAX and file:// protocol.
### From command line:
1. Go to `install/ui`
2. Run `npm install`, it installs required packages specified
in package.json file
3. Run `grunt --verbose qunit`
For more information about WebUI unit tests please read following:
https://www.freeipa.org/page/FreeIPAv2:UI_Unit_Tests

1
install/ui/test/aci_tests.html Executable file → Normal file
View File

@@ -4,6 +4,7 @@
<title>Access Control Interface Test Suite</title>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="qunit.js"></script>
<script type="text/javascript" src="../js/libs/loader.js"></script>
<script type="text/javascript" src="../js/libs/jquery.js"></script>
<script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>
<script type="text/javascript" src="config.js"></script>

View File

@@ -39,8 +39,8 @@ var target_facet;
var entity = IPA.entity({ name: 'bogus', redirect_facet: 'details' });
var group_entity = IPA.entity({ name: 'group' });
module('aci', {
setup: function() {
QUnit.module('aci', {
beforeEach: function(assert) {
fields.register();
widgets.register();
@@ -52,7 +52,7 @@ module('aci', {
IPA.init({
url: 'data',
on_error: function(xhr, text_status, error_thrown) {
ok(false, "ipa_init() failed: "+error_thrown);
assert.ok(false, "ipa_init() failed: "+error_thrown);
}
});
@@ -130,13 +130,13 @@ module('aci', {
target_facet.create();
target_widget = target_facet.widgets.get_widget('target');
},
teardown: function() {
afterEach: function() {
target_container.remove();
}}
);
test("aci.attributes_widget", function() {
QUnit.test("aci.attributes_widget", function(assert) {
var aciattrs = md.source.objects.user.aciattrs;
@@ -152,17 +152,19 @@ test("aci.attributes_widget", function() {
widget.create(container);
var table = $('table', container);
var list = $('ul', container);
ok(
table,
'Widget contains table');
assert.ok(
list,
'Widget contains list');
widget.update({});
var tr = $('tbody tr', table);
widget.update([]);
same(
tr.length, aciattrs.length,
list = $('ul', container); // reload the DOM node which contains options
var li = $('li', list);
assert.deepEqual(
li.length, aciattrs.length,
'Widget contains all user ACI attributes');
var record = {
@@ -173,24 +175,25 @@ test("aci.attributes_widget", function() {
]
};
same(
assert.deepEqual(
widget.save(), [],
'Widget has no initial values');
'Widget has no initialy checked values');
widget.update(record.attrs);
tr = $('tbody tr', table);
list = $('ul', container); // reload the DOM node which contains options
li = $('li', list);
same(
tr.length, aciattrs.length+1,
assert.deepEqual(
li.length, aciattrs.length+1,
'Widget contains all user ACI attributes plus 1 unmatched attribute');
same(
assert.deepEqual(
widget.save(), record.attrs.sort(),
'All loaded values are saved and sorted');
});
test("aci.rights_widget.", function() {
QUnit.test("aci.rights_widget.", function(assert) {
var container = $('<span/>', {
name: 'permissions'
@@ -205,7 +208,7 @@ test("aci.rights_widget.", function() {
var inputs = $('input', container);
same(
assert.deepEqual(
inputs.length, widget.rights.length,
'Widget displays all permissions');
});
@@ -228,7 +231,7 @@ var get_visible_rows = function(section) {
};
test("Testing type target.", function() {
QUnit.test("Testing type target.", function(assert) {
var data = {
id: null,
error: null,
@@ -237,11 +240,11 @@ test("Testing type target.", function() {
target_facet.load(data);
same(target_widget.target, 'type', 'type selected');
assert.deepEqual(target_widget.target, 'type', 'type selected');
var attrs_w = target_widget.widgets.get_widget('attrs');
var options = attrs_w.options;
ok(options.length > 0, "Attrs has some options");
assert.ok(options.length > 0, "Attrs has some options");
// check them all
var values = [];
for (var i=0,l=options.length; i<l; i++) {
@@ -253,18 +256,18 @@ test("Testing type target.", function() {
var record = {};
target_facet.save(record);
same(record.type[0], data.result.result.type,
assert.deepEqual(record.type[0], data.result.result.type,
"saved type matches sample data");
same(get_visible_rows(target_widget), ['type', 'extratargetfilter',
assert.deepEqual(get_visible_rows(target_widget), ['type', 'extratargetfilter',
'ipapermtarget', 'memberof', 'attrs'],
'type and attrs rows visible');
same(record.attrs.length, options.length, "response contains all checked attrs");
assert.deepEqual(record.attrs.length, options.length, "response contains all checked attrs");
});
test("Testing general target.", function() {
QUnit.test("Testing general target.", function(assert) {
var data = {
id: null,
@@ -277,13 +280,13 @@ test("Testing general target.", function() {
var record = {};
target_facet.save(record);
same(target_widget.target, 'general', 'general selected');
assert.deepEqual(target_widget.target, 'general', 'general selected');
same(get_visible_rows(target_widget), ['type', 'ipapermlocation',
assert.deepEqual(get_visible_rows(target_widget), ['type', 'ipapermlocation',
'extratargetfilter', 'ipapermtarget', 'memberof',
'attrs_multi'], 'general target fields visible');
same(record.extratargetfilter[0], data.result.result.extratargetfilter, 'filter set correctly');
assert.deepEqual(record.extratargetfilter[0], data.result.result.extratargetfilter, 'filter set correctly');
});
};});
};});

View File

@@ -3,12 +3,23 @@
<head>
<title>Complete Test Suite</title>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="qunit.js"></script>
<script type="text/javascript" src="../js/libs/loader.js"></script>
<script type="text/javascript" src="../js/libs/jquery.js"></script>
<script>
// import qunit.js only in situations it is not imported by grunt-contrib-qunit
// allows to run tests using grunt and using Firefox (FF needs explicit import)
if (window.QUnit === undefined) {
var s = document.createElement("script");
s.type = "text/javascript";
s.src = "qunit.js";
$("head script:last-of-type").before(s); // insert qunit.js import before dojo import
}
</script>
<script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>
<script type="text/javascript" src="../js/libs/bootstrap.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="../js/dojo/dojo.js"></script>
<script class='insertBefore' type="text/javascript" src="../js/dojo/dojo.js"></script>
<script type="text/javascript">
require([
@@ -17,7 +28,6 @@
'test/details_tests',
'test/entity_tests',
'test/association_tests',
'test/navigation_tests',
'test/certificate_tests',
'test/aci_tests',
'test/widget_tests',
@@ -25,13 +35,14 @@
'test/utils_tests',
'test/build_tests',
'test/binding_tests',
], function(om, ipa, details, entity, as, nav, cert, aci, wid, ip, ut, bt, bi){
'test/topology_tests',
], function(om, ipa, details, entity, as, cert, aci, wid, ip, ut, bt, bi, topo){
QUnit.start();
om();
ipa();
details();
entity();
as();
nav();
cert();
aci();
wid();
@@ -39,6 +50,7 @@
ut();
bt();
bi();
topo();
});
</script>
</head>
@@ -50,4 +62,4 @@
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
</body>
</html>
</html>

View File

@@ -4,6 +4,7 @@
<title>Association Test Suite</title>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="qunit.js"></script>
<script type="text/javascript" src="../js/libs/loader.js"></script>
<script type="text/javascript" src="../js/libs/jquery.js"></script>
<script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>
<script type="text/javascript" src="config.js"></script>

View File

@@ -28,12 +28,12 @@ define([
], function(IPA, $, rpc)
{ return function() {
module('association');
QUnit.module('association');
test("Testing serial_associator().", function() {
QUnit.test("Testing serial_associator().", function(assert) {
expect(11);
assert.expect(11);
var orig_ipa_batch_command = rpc.batch_command;
@@ -54,7 +54,7 @@ test("Testing serial_associator().", function() {
var that = orig_ipa_batch_command(spec);
that.execute = function() {
equals(that.commands.length, params.values.length,
assert.equal(that.commands.length, params.values.length,
'Checking rpc.batch_command command count');
var i, command;
@@ -62,15 +62,15 @@ test("Testing serial_associator().", function() {
for(i=0; i < params.values.length; i++) {
command = that.commands[i];
equals(
assert.equal(
command.entity, params.other_entity.name,
'Checking rpc.command() parameter: entity');
equals(
assert.equal(
command.method, params.method,
'Checking rpc.command() parameter: method');
equals(
assert.equal(
command.args[0], 'user'+(i+1),
'Checking rpc.command() parameter: primary key');
}
@@ -82,7 +82,7 @@ test("Testing serial_associator().", function() {
};
params.on_success = function() {
ok(true, "on_success() is invoked.");
assert.ok(true, "on_success() is invoked.");
};
var associator = IPA.serial_associator(params);
@@ -91,9 +91,9 @@ test("Testing serial_associator().", function() {
rpc.batch_command = orig_ipa_batch_command;
});
test("Testing bulk_associator().", function() {
QUnit.test("Testing bulk_associator().", function(assert) {
expect(4);
assert.expect(4);
var orig_ipa_command = rpc.command;
@@ -118,15 +118,15 @@ test("Testing bulk_associator().", function() {
that.execute = function() {
counter++;
equals(
assert.equal(
that.method, params.method,
'Checking rpc.command() parameter: method');
equals(
assert.equal(
that.args[0], params.pkey,
'Checking rpc.command() parameter: primary key');
equals(
assert.equal(
that.options[params.other_entity.name], 'user1,user2,user3',
'Checking rpc.command() parameter: options[\""+params.other_entity+"\"]');
@@ -137,7 +137,7 @@ test("Testing bulk_associator().", function() {
};
params.on_success = function() {
ok(true, "on_success() is invoked.");
assert.ok(true, "on_success() is invoked.");
};
var associator = IPA.bulk_associator(params);
@@ -146,4 +146,4 @@ test("Testing bulk_associator().", function() {
rpc.command = orig_ipa_command;
});
};});
};});

View File

@@ -19,10 +19,6 @@ json="{
\"method\": \"batch\",
\"params\": [
[
{
\"method\": \"i18n_messages\",
\"params\": [[], {}]
},
{
\"method\": \"user_find\",
\"params\":[[], { \"whoami\": true, \"all\": true }]

View File

@@ -3,6 +3,7 @@
<head>
<title>IPA Binding test suite</title>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="../js/libs/loader.js"></script>
<script type="text/javascript" src="../js/libs/jquery.js"></script>
<script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>
<script type="text/javascript" src="qunit.js"></script>
@@ -21,4 +22,4 @@
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
</body>
</html>
</html>

View File

@@ -28,13 +28,7 @@ define([
function(builder, FieldBinder, mod_widget, mod_field) { return function() {
module('build',{
setup: function() {
},
teardown: function() {
}
});
QUnit.module('binding');
/**
@@ -42,17 +36,17 @@ module('build',{
*
* All three have to have the same value.
*/
test('Testing two way bindings', function() {
QUnit.test('Testing two way bindings', function(assert) {
function test_same_value(value, dirty) {
if (dirty) {
ok(field.dirty, "Field is dirty")
assert.ok(field.dirty, "Field is dirty")
} else {
ok(!field.dirty, "Field is not dirty")
assert.ok(!field.dirty, "Field is not dirty")
}
same(widget1.get_value(), value, 'Testing Widget 1 value');
same(widget2.get_value(), value, 'Testing Widget 2 value');
same(field.get_value(), value, 'Testing Field value');
assert.deepEqual(widget1.get_value(), value, 'Testing Widget 1 value');
assert.deepEqual(widget2.get_value(), value, 'Testing Widget 2 value');
assert.deepEqual(field.get_value(), value, 'Testing Field value');
}
mod_widget.register();
@@ -110,9 +104,9 @@ test('Testing two way bindings', function() {
b2.unbind();
field.reset();
widget2.set_value(value3);
same(widget1.get_value(), value2, 'Testing Widget 1 value');
same(widget2.get_value(), value3, 'Testing Widget 2 value');
same(field.get_value(), value, 'Testing Field value');
assert.deepEqual(widget1.get_value(), value2, 'Testing Widget 1 value');
assert.deepEqual(widget2.get_value(), value3, 'Testing Widget 2 value');
assert.deepEqual(field.get_value(), value, 'Testing Field value');
// bind again
b1.bind();

View File

@@ -3,6 +3,7 @@
<head>
<title>IPA utils test suite</title>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="../js/libs/loader.js"></script>
<script type="text/javascript" src="../js/libs/jquery.js"></script>
<script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>
<script type="text/javascript" src="qunit.js"></script>
@@ -21,4 +22,4 @@
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
</body>
</html>
</html>

View File

@@ -29,15 +29,9 @@ define([
function(declare, Builder, C_reg, Spec_mod, IPA, su) { return function() {
module('build',{
QUnit.module('build');
setup: function() {
},
teardown: function() {
}
});
test('Testing builder', function() {
QUnit.test('Testing builder', function(assert) {
var simple_factory = function(spec) {
@@ -69,18 +63,18 @@ test('Testing builder', function() {
var r2 = new Simple_class({});
var r21 = new Simple_class({ foo:'baz'});
deepEqual(o1, r1, 'Factory, default');
deepEqual(o11, r11, 'Factory, spec use');
assert.deepEqual(o1, r1, 'Factory, default');
assert.deepEqual(o11, r11, 'Factory, spec use');
deepEqual(o2, r2, 'Constructor, default');
deepEqual(o21, r21, 'Constructor, spec use');
assert.deepEqual(o2, r2, 'Constructor, default');
assert.deepEqual(o21, r21, 'Constructor, spec use');
strictEqual(o11, o12, 'Don\'t build built object - factory');
strictEqual(o21, o22, 'Don\'t build built object - constructor');
assert.strictEqual(o11, o12, 'Don\'t build built object - factory');
assert.strictEqual(o21, o22, 'Don\'t build built object - constructor');
});
test('Testing Spec_mod', function() {
QUnit.test('Testing Spec_mod', function(assert) {
var sm = new Spec_mod();
@@ -149,7 +143,7 @@ test('Testing Spec_mod', function() {
sm.mod(spec, diff);
deepEqual(spec, ref, 'Complex Modification');
assert.deepEqual(spec, ref, 'Complex Modification');
spec = {
a: [ 'a1', 'a2', 'a3' ]
@@ -157,10 +151,10 @@ test('Testing Spec_mod', function() {
var rules = [[ 'a', 'new', 1]];
sm.add(spec, rules);
deepEqual(spec, { a: ['a1', 'new', 'a2', 'a3'] }, 'Add on position');
assert.deepEqual(spec, { a: ['a1', 'new', 'a2', 'a3'] }, 'Add on position');
});
test('Testing Construct registry', function() {
QUnit.test('Testing Construct registry', function(assert) {
var undefined;
@@ -171,22 +165,22 @@ test('Testing Construct registry', function() {
cr.register('ctor', ctor);
var ctor_cs = cr.get('ctor');
equals(ctor_cs.type, 'ctor', 'Ctor: Match type');
equals(ctor_cs.ctor, ctor, 'Ctor: Match ctor');
equals(ctor_cs.factory, undefined, 'Ctor: Match factory');
equals(ctor_cs.pre_ops.length, 0, 'Ctor: No pre_ops');
equals(ctor_cs.post_ops.length, 0, 'Ctor: No post_ops');
assert.equal(ctor_cs.type, 'ctor', 'Ctor: Match type');
assert.equal(ctor_cs.ctor, ctor, 'Ctor: Match ctor');
assert.equal(ctor_cs.factory, undefined, 'Ctor: Match factory');
assert.equal(ctor_cs.pre_ops.length, 0, 'Ctor: No pre_ops');
assert.equal(ctor_cs.post_ops.length, 0, 'Ctor: No post_ops');
// test simple factory registration
var fac = function(){};
cr.register('fac', fac);
var fac_cs = cr.get('fac');
equals(fac_cs.type, 'fac', 'Factory: Match type');
equals(fac_cs.ctor, undefined, 'Factory: Match ctor');
equals(fac_cs.factory, fac, 'Factory: Match factory');
equals(fac_cs.pre_ops.length, 0, 'Factory: No pre_ops');
equals(fac_cs.post_ops.length, 0, 'Factory: No post_ops');
assert.equal(fac_cs.type, 'fac', 'Factory: Match type');
assert.equal(fac_cs.ctor, undefined, 'Factory: Match ctor');
assert.equal(fac_cs.factory, fac, 'Factory: Match factory');
assert.equal(fac_cs.pre_ops.length, 0, 'Factory: No pre_ops');
assert.equal(fac_cs.post_ops.length, 0, 'Factory: No post_ops');
// test complex registration
@@ -201,22 +195,22 @@ test('Testing Construct registry', function() {
};
cr.register(cs);
var complex_cs = cr.get('complex');
equals(complex_cs.type, 'complex', 'Complex: Match type');
equals(complex_cs.ctor, ctor, 'Complex: Match ctor');
equals(complex_cs.factory, fac, 'Complex: Match factory');
equals(complex_cs.pre_ops.length, 0, 'Complex: No pre_ops');
equals(complex_cs.post_ops.length, 0, 'Complex: No post_ops');
deepEqual(complex_cs.spec, spec, 'Complex: Match spec');
assert.equal(complex_cs.type, 'complex', 'Complex: Match type');
assert.equal(complex_cs.ctor, ctor, 'Complex: Match ctor');
assert.equal(complex_cs.factory, fac, 'Complex: Match factory');
assert.equal(complex_cs.pre_ops.length, 0, 'Complex: No pre_ops');
assert.equal(complex_cs.post_ops.length, 0, 'Complex: No post_ops');
assert.deepEqual(complex_cs.spec, spec, 'Complex: Match spec');
// copy: new cs based on existing
cr.copy('complex', 'copy', {}); // pure copy
var copy_cs = cr.get('copy');
equals(copy_cs.type, 'copy', 'Copy: Match type');
equals(copy_cs.ctor, ctor, 'Copy: Match ctor');
equals(copy_cs.factory, fac, 'Copy: Match factory');
equals(copy_cs.pre_ops.length, 0, 'Copy: No pre_ops');
equals(copy_cs.post_ops.length, 0, 'Copy: No post_ops');
deepEqual(copy_cs.spec, spec, 'Copy: Match spec');
assert.equal(copy_cs.type, 'copy', 'Copy: Match type');
assert.equal(copy_cs.ctor, ctor, 'Copy: Match ctor');
assert.equal(copy_cs.factory, fac, 'Copy: Match factory');
assert.equal(copy_cs.pre_ops.length, 0, 'Copy: No pre_ops');
assert.equal(copy_cs.post_ops.length, 0, 'Copy: No post_ops');
assert.deepEqual(copy_cs.spec, spec, 'Copy: Match spec');
// add post op and pre op to complex
var op1 = function() {};
@@ -226,11 +220,11 @@ test('Testing Construct registry', function() {
cr.register_pre_op('complex', op1);
cr.register_pre_op('complex', op2, true /* first*/);
deepEqual(complex_cs.pre_ops, [op2, op1], 'Adding pre_ops');
assert.deepEqual(complex_cs.pre_ops, [op2, op1], 'Adding pre_ops');
cr.register_post_op('complex', op3);
cr.register_post_op('complex', op4, true);
deepEqual(complex_cs.post_ops, [op4, op3], 'Adding post_ops');
assert.deepEqual(complex_cs.post_ops, [op4, op3], 'Adding post_ops');
// copy: altered
@@ -249,16 +243,16 @@ test('Testing Construct registry', function() {
});
var a_copy_cs = cr.get('copy2');
equals(a_copy_cs.type, 'copy2', 'Altered copy: Match type');
equals(a_copy_cs.ctor, ctor2, 'Altered copy: Match ctor');
equals(a_copy_cs.factory, fac2, 'Altered copy: Match factory');
deepEqual(a_copy_cs.spec, {
assert.equal(a_copy_cs.type, 'copy2', 'Altered copy: Match type');
assert.equal(a_copy_cs.ctor, ctor2, 'Altered copy: Match ctor');
assert.equal(a_copy_cs.factory, fac2, 'Altered copy: Match factory');
assert.deepEqual(a_copy_cs.spec, {
name: 'spec',
foo: 'bar'
}, 'Altered copy: Match spec');
deepEqual(a_copy_cs.pre_ops, [op2, op1, op5], 'Altered copy: Match pre_ops');
deepEqual(a_copy_cs.post_ops, [op4, op3, op6], 'Altered copy: Match post_ops');
assert.deepEqual(a_copy_cs.pre_ops, [op2, op1, op5], 'Altered copy: Match pre_ops');
assert.deepEqual(a_copy_cs.post_ops, [op4, op3, op6], 'Altered copy: Match post_ops');
});
};});
};});

1
install/ui/test/certificate_tests.html Executable file → Normal file
View File

@@ -3,6 +3,7 @@
<head>
<title>Certificate Test Suite</title>
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen">
<script type="text/javascript" src="../js/libs/loader.js"></script>
<script type="text/javascript" src="qunit.js"></script>
<script type="text/javascript" src="../js/libs/jquery.js"></script>
<script type="text/javascript" src="../js/libs/jquery.ordered-map.js"></script>

31
install/ui/test/certificate_tests.js Executable file → Normal file
View File

@@ -18,42 +18,45 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
define(['freeipa/ipa', 'freeipa/jquery', 'freeipa/certificate'], function(IPA, $) {
return function() {
define(['freeipa/ipa',
'freeipa/jquery',
'freeipa/certificate'],
function(IPA, $) {
return function() {
module('certificate');
QUnit.module('certificate');
test("Testing certificate_parse_dn().", function() {
QUnit.test("Testing certificate_parse_dn().", function(assert) {
same(
assert.deepEqual(
IPA.cert.parse_dn(), {},
"Checking IPA.cert.parse_dn()");
same(
assert.deepEqual(
IPA.cert.parse_dn(''), {},
"Checking IPA.cert.parse_dn('')");
same(
assert.deepEqual(
IPA.cert.parse_dn('c=US'), {'c': 'US'},
"Checking IPA.cert.parse_dn('c=US')");
same(
assert.deepEqual(
IPA.cert.parse_dn('st=TX,c=US'), {'st': 'TX','c': 'US'},
"Checking IPA.cert.parse_dn('st=TX,c=US')");
same(
assert.deepEqual(
IPA.cert.parse_dn('c=US,st=TX'), {'st': 'TX','c': 'US'},
"Checking IPA.cert.parse_dn('c=US,st=TX')");
same(
assert.deepEqual(
IPA.cert.parse_dn(' st = New Mexico , c = US '), {'st': 'New Mexico','c': 'US'},
"Checking IPA.cert.parse_dn(' st = New Mexico , c = US ')");
same(
assert.deepEqual(
IPA.cert.parse_dn('ST=TX,C=US'), {'st': 'TX','c': 'US'},
"Checking IPA.cert.parse_dn('ST=TX,C=US')");
same(
assert.deepEqual(
IPA.cert.parse_dn('cn=dev.example.com,ou=Engineering,o=Example,l=Austin,ST=TX,C=US'),
{ 'cn': 'dev.example.com',
'ou': 'Engineering',
@@ -64,7 +67,7 @@ test("Testing certificate_parse_dn().", function() {
},
"Checking IPA.cert.parse_dn('cn=dev.example.com,ou=Engineering,o=Example,l=Austin,ST=TX,C=US')");
same(
assert.deepEqual(
IPA.cert.parse_dn('cn=John Smith,ou=Developers,ou=Users,dc=example,dc=com'),
{
'cn': 'John Smith',
@@ -74,4 +77,4 @@ test("Testing certificate_parse_dn().", function() {
"Checking IPA.cert.parse_dn('cn=John Smith,ou=Developers,ou=Users,dc=example,dc=com')");
});
};});
};});

View File

@@ -1,21 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automembertargetgroup": [
"cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"foogroup"
],
"dn": "cn=foogroup,cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
"objectclass": [
"top",
"automemberregexrule"
]
},
"summary": "Added automember rule \"foogroup\"",
"value": "foogroup"
}
}

View File

@@ -1,14 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automemberdefaultgroup": "No default group set",
"cn": [
"Group"
]
},
"summary": "Removed default group for automember \"group\"",
"value": "group"
}
}

View File

@@ -1,16 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automemberdefaultgroup": [
"cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"Group"
]
},
"summary": "Set default group for automember \"group\"",
"value": "group"
}
}

View File

@@ -1,17 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automemberdefaultgroup": [
"cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"Group"
],
"dn": "cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com"
},
"summary": null,
"value": "group"
}
}

View File

@@ -1,24 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"result": [
{
"automembertargetgroup": [
"cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"foogroup"
],
"dn": "cn=foogroup,cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
"objectclass": [
"top",
"automemberregexrule"
]
}
],
"summary": "1 rules matched",
"truncated": false
}
}

View File

@@ -1,27 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"results": [
{
"error": null,
"result": {
"automembertargetgroup": [
"cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"foogroup"
],
"dn": "cn=foogroup,cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
"objectclass": [
"top",
"automemberregexrule"
]
},
"summary": null,
"value": "foogroup"
}
]
}
}

View File

@@ -1,31 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automemberexclusiveregex": [
"cn=^user5",
"cn=^user6"
],
"automemberinclusiveregex": [
"cn=^user[0-9]+"
],
"automembertargetgroup": [
"cn=foogroup,cn=groups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"foogroup"
],
"description": [
"userrule description"
],
"dn": "cn=foogroup,cn=group,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
"objectclass": [
"top",
"automemberregexrule"
]
},
"summary": null,
"value": "foogroup"
}
}

View File

@@ -1,21 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automembertargetgroup": [
"cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"foohostgroup"
],
"dn": "cn=foohostgroup,cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
"objectclass": [
"top",
"automemberregexrule"
]
},
"summary": "Added automember rule \"foohostgroup\"",
"value": "foohostgroup"
}
}

View File

@@ -1,14 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automemberdefaultgroup": "No default group set",
"cn": [
"Hostgroup"
]
},
"summary": "Removed default group for automember \"hostgroup\"",
"value": "hostgroup"
}
}

View File

@@ -1,16 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automemberdefaultgroup": [
"cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"Hostgroup"
]
},
"summary": "Set default group for automember \"hostgroup\"",
"value": "hostgroup"
}
}

View File

@@ -1,15 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automemberdefaultgroup": "No default group set",
"cn": [
"Hostgroup"
],
"dn": "cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com"
},
"summary": null,
"value": "hostgroup"
}
}

View File

@@ -1,24 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"result": [
{
"automembertargetgroup": [
"cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"foohostgroup"
],
"dn": "cn=foohostgroup,cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
"objectclass": [
"top",
"automemberregexrule"
]
}
],
"summary": "1 rules matched",
"truncated": false
}
}

View File

@@ -1,27 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"results": [
{
"error": null,
"result": {
"automembertargetgroup": [
"cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"foohostgroup"
],
"dn": "cn=foohostgroup,cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
"objectclass": [
"top",
"automemberregexrule"
]
},
"summary": null,
"value": "foohostgroup"
}
]
}
}

View File

@@ -1,30 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automemberexclusiveregex": [
"fqdn=^web5.example.com"
],
"automemberinclusiveregex": [
"fqdn=^web[1-9]+.example.com"
],
"automembertargetgroup": [
"cn=foohostgroup,cn=hostgroups,cn=accounts,dc=dev,dc=example,dc=com"
],
"cn": [
"foohostgroup"
],
"description": [
"hostrule description"
],
"dn": "cn=foohostgroup,cn=hostgroup,cn=automember,cn=etc,dc=dev,dc=example,dc=com",
"objectclass": [
"top",
"automemberregexrule"
]
},
"summary": null,
"value": "foohostgroup"
}
}

View File

@@ -1,24 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automountinformation": [
"mountinfogoeshere"
],
"automountkey": [
"/var/log/ipa"
],
"description": [
"/var/log/ipa mountinfogoeshere"
],
"dn": "description=/var/log/ipa mountinfogoeshere,automountmapname=auto.master,cn=default,cn=automount,dc=example,dc=com",
"objectclass": [
"automount",
"top"
]
},
"summary": null,
"value": "auto.master"
}
}

View File

@@ -1,43 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"count": 2,
"result": [
{
"automountinformation": [
"/var/log/dirsrv"
],
"automountkey": [
"nfsserver:/var/log/dirsrv"
],
"description": [
"nfsserver:/var/log/dirsrv /var/log/dirsrv"
],
"dn": "description=nfsserver:/var/log/dirsrv /var/log/dirsrv,automountmapname=auto.log,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automount",
"top"
]
},
{
"automountinformation": [
"/var/log/ipa"
],
"automountkey": [
"nfsserver:/var/log/ipa"
],
"description": [
"nfsserver:/var/log/ipa /var/log/ipa"
],
"dn": "description=nfsserver:/var/log/ipa /var/log/ipa,automountmapname=auto.log,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automount",
"top"
]
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,32 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"attributelevelrights": {
"aci": "rscwo",
"automountinformation": "rscwo",
"automountkey": "rscwo",
"description": "rscwo",
"nsaccountlock": "rscwo",
"objectclass": "rscwo"
},
"automountinformation": [
"auto.home"
],
"automountkey": [
"/home"
],
"description": [
"/home auto.home"
],
"dn": "description=/home auto.home,automountmapname=auto.master,cn=default,cn=automount,dc=example,dc=com",
"objectclass": [
"automount",
"top"
]
},
"summary": null,
"value": "/home auto.home"
}
}

View File

@@ -1,18 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"cn": [
"YYZ"
],
"dn": "cn=yyz,cn=automount,dc=example,dc=com",
"objectclass": [
"nscontainer",
"top"
]
},
"summary": null,
"value": "YYZ"
}
}

View File

@@ -1,17 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"results": [
{
"error": null,
"result": {
"failed": ""
},
"summary": null,
"value": "YYZ"
}
]
}
}

View File

@@ -1,35 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 4,
"result": [
{
"cn": [
"BOS"
],
"dn": "cn=bos,cn=automount,dc=example,dc=com"
},
{
"cn": [
"BRNO"
],
"dn": "cn=brno,cn=automount,dc=example,dc=com"
},
{
"cn": [
"default"
],
"dn": "cn=default,cn=automount,dc=example,dc=com"
},
{
"cn": [
"RDU"
],
"dn": "cn=rdu,cn=automount,dc=example,dc=com"
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,35 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 4,
"result": [
{
"cn": [
"BOS"
],
"dn": "cn=bos,cn=automount,dc=example,dc=com"
},
{
"cn": [
"BRNO"
],
"dn": "cn=brno,cn=automount,dc=example,dc=com"
},
{
"cn": [
"default"
],
"dn": "cn=default,cn=automount,dc=example,dc=com"
},
{
"cn": [
"RDU"
],
"dn": "cn=rdu,cn=automount,dc=example,dc=com"
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,53 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 4,
"results": [
{
"error": null,
"result": {
"cn": [
"BOS"
],
"dn": "cn=bos,cn=automount,dc=example,dc=com"
},
"summary": null,
"value": "BOS"
},
{
"error": null,
"result": {
"cn": [
"BRNO"
],
"dn": "cn=brno,cn=automount,dc=example,dc=com"
},
"summary": null,
"value": "BRNO"
},
{
"error": null,
"result": {
"cn": [
"default"
],
"dn": "cn=default,cn=automount,dc=example,dc=com"
},
"summary": null,
"value": "default"
},
{
"error": null,
"result": {
"cn": [
"RDU"
],
"dn": "cn=rdu,cn=automount,dc=example,dc=com"
},
"summary": null,
"value": "RDU"
}
]
}
}

View File

@@ -1,14 +0,0 @@
{
"error": null,
"id": 6,
"result": {
"result": {
"cn": [
"default"
],
"dn": "cn=default,cn=automount,dc=example,dc=com"
},
"summary": null,
"value": "default"
}
}

View File

@@ -1,18 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automountmapname": [
"auto.log"
],
"dn": "automountmapname=auto.log,cn=mtv,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
"summary": null,
"value": "auto.log"
}
}

View File

@@ -1,21 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automountmapname": [
"test"
],
"description": [
"test"
],
"dn": "automountmapname=test,cn=default,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
"summary": null,
"value": "test"
}
}

View File

@@ -1,17 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"results": [
{
"error": null,
"result": {
"failed": ""
},
"summary": null,
"value": "auto.log"
}
]
}
}

View File

@@ -1,51 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"count": 4,
"result": [
{
"automountmapname": [
"auto.direct"
],
"dn": "automountmapname=auto.direct,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
{
"automountmapname": [
"auto.home"
],
"dn": "automountmapname=auto.home,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
{
"automountmapname": [
"auto.log"
],
"dn": "automountmapname=auto.log,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
{
"automountmapname": [
"auto.master"
],
"dn": "automountmapname=auto.master,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,35 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"count": 4,
"result": [
{
"automountmapname": [
"auto.direct"
],
"dn": "automountmapname=auto.direct,cn=bos,cn=automount,dc=example,dc=com"
},
{
"automountmapname": [
"auto.home"
],
"dn": "automountmapname=auto.home,cn=bos,cn=automount,dc=example,dc=com"
},
{
"automountmapname": [
"auto.log"
],
"dn": "automountmapname=auto.log,cn=bos,cn=automount,dc=example,dc=com"
},
{
"automountmapname": [
"auto.master"
],
"dn": "automountmapname=auto.master,cn=bos,cn=automount,dc=example,dc=com"
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,69 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"count": 4,
"results": [
{
"error": null,
"result": {
"automountmapname": [
"auto.direct"
],
"dn": "automountmapname=auto.direct,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
"summary": null,
"value": "auto.direct"
},
{
"error": null,
"result": {
"automountmapname": [
"auto.home"
],
"dn": "automountmapname=auto.home,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
"summary": null,
"value": "auto.home"
},
{
"error": null,
"result": {
"automountmapname": [
"auto.log"
],
"dn": "automountmapname=auto.log,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
"summary": null,
"value": "auto.log"
},
{
"error": null,
"result": {
"automountmapname": [
"auto.master"
],
"dn": "automountmapname=auto.master,cn=bos,cn=automount,dc=example,dc=com",
"objectclass": [
"automountmap",
"top"
]
},
"summary": null,
"value": "auto.master"
}
]
}
}

View File

@@ -1,14 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"automountmapname": [
"live"
],
"dn": "automountmapname=live,cn=bos,cn=automount,dc=example,dc=com"
},
"summary": null,
"value": "live"
}
}

View File

@@ -1,71 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 10,
"result": [
{
"serial_number": 1,
"serial_number_hex": "0x1",
"status": "VALID",
"subject": "CN=Certificate Authority,O=EXAMPLE.COM"
},
{
"serial_number": 2,
"serial_number_hex": "0x2",
"status": "VALID",
"subject": "CN=OCSP Subsystem,O=EXAMPLE.COM"
},
{
"serial_number": 3,
"serial_number_hex": "0x3",
"status": "VALID",
"subject": "CN=dev.example.com,O=EXAMPLE.COM"
},
{
"serial_number": 4,
"serial_number_hex": "0x4",
"status": "VALID",
"subject": "CN=CA Subsystem,O=EXAMPLE.COM"
},
{
"serial_number": 5,
"serial_number_hex": "0x5",
"status": "VALID",
"subject": "CN=CA Audit,O=EXAMPLE.COM"
},
{
"serial_number": 6,
"serial_number_hex": "0x6",
"status": "VALID",
"subject": "CN=ipa-ca-agent,O=EXAMPLE.COM"
},
{
"serial_number": 7,
"serial_number_hex": "0x7",
"status": "VALID",
"subject": "CN=IPA RA,O=EXAMPLE.COM"
},
{
"serial_number": 8,
"serial_number_hex": "0x8",
"status": "VALID",
"subject": "CN=dev.example.com,O=EXAMPLE.COM"
},
{
"serial_number": 9,
"serial_number_hex": "0x9",
"status": "VALID",
"subject": "CN=dev.example.com,O=EXAMPLE.COM"
},
{
"serial_number": 10,
"serial_number_hex": "0xA",
"status": "VALID",
"subject": "CN=Object Signing Cert,O=EXAMPLE.COM"
}
],
"summary": "10 certificates matched",
"truncated": false
}
}

View File

@@ -1,9 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": {
"unrevoked": true
}
}
}

View File

@@ -1,17 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": {
"certificate": "MIICAjCCAWugAwIBAgICBAswDQYJKoZIhvcNAQEFBQAwKTEnMCUGA1UEAxMeSVBBIFRlc3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEwMTAwNzIzMzk0NFoXDTE1MTAwNzIzMzk0NFowKDEMMAoGA1UECgwDSVBBMRgwFgYDVQQDDA9kZXYuZXhhbXBsZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOTXyj8grVB7Rj95RFawgdwn9OYZ03LWHZ+HMYggu2/xCCrUrdThP14YBlVqZumjVJSclj6T4ACjjdPJq9JTTmx7gMizDTReus7IPlS6fCxb5v5whQJZsEksXL04OxUMl25euPRFkYcTK1rdW47+AkG10j1qeNW+B6CpdQGR6eM/AgMBAAGjOjA4MBEGCWCGSAGG+EIBAQQEAwIGQDATBgNVHSUEDDAKBggrBgEFBQcDATAOBgNVHQ8BAf8EBAMCBPAwDQYJKoZIhvcNAQEFBQADgYEASIhq723VL5xP0q51MYXFlGU1boD7pPD1pIQspD/MjCIEupcbH2kAo4wf+EiKsXR0rs+WZkaSgvFqaM4OQ2kWSFTiqmFXFDBEi6EFr68yLg7IpQpNTzVBXERd8B4GwNL9wrRw60jPXlUK29DPBsdGq8fDgX18l39wKkWXv7p1to4=",
"issuer": "CN=Certificate Authority,O=EXAMPLE.COM",
"md5_fingerprint": "08:86:a9:f9:87:af:0d:d7:42:01:e0:5f:12:9b:32:7f",
"request_id": "1",
"serial_number": "1",
"sha1_fingerprint": "b8:4c:4b:79:4f:13:03:79:47:08:fa:6b:52:63:3d:f9:15:8e:7e:dc",
"subject": "CN=dev.example.com,O=EXAMPLE.COM",
"valid_not_after": "Tue Oct 13 01:59:32 2015 UTC",
"valid_not_before": "Wed Oct 13 01:59:32 2010 UTC"
}
}
}

View File

@@ -1,9 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": {
"revoked": true
}
}
}

View File

@@ -1,16 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": {
"certificate": "MIICAjCCAWugAwIBAgICBAswDQYJKoZIhvcNAQEFBQAwKTEnMCUGA1UEAxMeSVBBIFRlc3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEwMTAwNzIzMzk0NFoXDTE1MTAwNzIzMzk0NFowKDEMMAoGA1UECgwDSVBBMRgwFgYDVQQDDA9kZXYuZXhhbXBsZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOTXyj8grVB7Rj95RFawgdwn9OYZ03LWHZ+HMYggu2/xCCrUrdThP14YBlVqZumjVJSclj6T4ACjjdPJq9JTTmx7gMizDTReus7IPlS6fCxb5v5whQJZsEksXL04OxUMl25euPRFkYcTK1rdW47+AkG10j1qeNW+B6CpdQGR6eM/AgMBAAGjOjA4MBEGCWCGSAGG+EIBAQQEAwIGQDATBgNVHSUEDDAKBggrBgEFBQcDATAOBgNVHQ8BAf8EBAMCBPAwDQYJKoZIhvcNAQEFBQADgYEASIhq723VL5xP0q51MYXFlGU1boD7pPD1pIQspD/MjCIEupcbH2kAo4wf+EiKsXR0rs+WZkaSgvFqaM4OQ2kWSFTiqmFXFDBEi6EFr68yLg7IpQpNTzVBXERd8B4GwNL9wrRw60jPXlUK29DPBsdGq8fDgX18l39wKkWXv7p1to4=",
"issuer": "CN=Certificate Authority,O=EXAMPLE.COM",
"md5_fingerprint": "08:86:a9:f9:87:af:0d:d7:42:01:e0:5f:12:9b:32:7f",
"serial_number": "1",
"sha1_fingerprint": "b8:4c:4b:79:4f:13:03:79:47:08:fa:6b:52:63:3d:f9:15:8e:7e:dc",
"subject": "CN=dev.example.com,O=EXAMPLE.COM",
"valid_not_after": "Tue Oct 13 01:59:32 2015 UTC",
"valid_not_before": "Wed Oct 13 01:59:32 2010 UTC"
}
}
}

View File

@@ -1,107 +0,0 @@
{
"error": null,
"id": 4,
"result": {
"result": {
"attributelevelrights": {
"aci": "rscwo",
"cn": "rscwo",
"ipacertificatesubjectbase": "rscwo",
"ipaconfigstring": "rscwo",
"ipacustomfields": "rscwo",
"ipadefaultemaildomain": "rscwo",
"ipadefaultloginshell": "rscwo",
"ipadefaultprimarygroup": "rscwo",
"ipagroupobjectclasses": "rscwo",
"ipagroupsearchfields": "rscwo",
"ipahomesrootdir": "rscwo",
"ipamaxusernamelength": "rscwo",
"ipamigrationenabled": "rscwo",
"ipapwdexpadvnotify": "rscwo",
"ipasearchrecordslimit": "rscwo",
"ipasearchtimelimit": "rscwo",
"ipaselinuxusermapdefault": "rscwo",
"ipaselinuxusermaporder": "rscwo",
"ipauserobjectclasses": "rscwo",
"ipausersearchfields": "rscwo",
"nsaccountlock": "rscwo",
"objectclass": "rscwo"
},
"cn": [
"ipaConfig"
],
"dn": "cn=ipaconfig,cn=etc,dc=example,dc=com",
"ipacertificatesubjectbase": [
"O=EXAMPLE.COM"
],
"ipaconfigstring": [
"AllowNThash"
],
"ipadefaultemaildomain": [
"example.com"
],
"ipadefaultloginshell": [
"/bin/sh"
],
"ipadefaultprimarygroup": [
"ipausers"
],
"ipagroupobjectclasses": [
"top",
"groupofnames",
"nestedgroup",
"ipausergroup",
"ipaobject"
],
"ipagroupsearchfields": [
"cn,description"
],
"ipahomesrootdir": [
"/home"
],
"ipamaxusernamelength": [
"32"
],
"ipamigrationenabled": [
"FALSE"
],
"ipapwdexpadvnotify": [
"4"
],
"ipasearchrecordslimit": [
"100"
],
"ipasearchtimelimit": [
"2"
],
"ipaselinuxusermapdefault": [
"guest_u:s0"
],
"ipaselinuxusermaporder": [
"guest_u:s0$xguest_u:s0$user_u:s0-s0:c0.c1023$staff_u:s0-s0:c0.c1023$unconfined_u:s0-s0:c0.c1023"
],
"ipauserobjectclasses": [
"top",
"person",
"organizationalperson",
"inetorgperson",
"inetuser",
"posixaccount",
"krbprincipalaux",
"krbticketpolicyaux",
"ipaobject"
],
"ipausersearchfields": [
"uid,givenname,sn,telephonenumber,ou,title"
],
"objectclass": [
"nsContainer",
"top",
"ipaGuiConfig",
"ipaConfigObject"
]
},
"summary": null,
"value": ""
}
}

View File

@@ -1,35 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"count": 2,
"result": [
{
"aciname": "delegme",
"attrs": [
"cn"
],
"filter": "(memberOf=cn=ipausers,cn=groups,cn=accounts,dc=example,dc=com)",
"group": "muppets",
"membergroup": "cn=ipausers,cn=groups,cn=accounts,dc=example,dc=com",
"permissions": [
"write"
]
},
{
"aciname": "m2m",
"attrs": [
"title"
],
"filter": "(memberOf=cn=monsters,cn=groups,cn=accounts,dc=example,dc=com)",
"group": "muppets",
"membergroup": "cn=monsters,cn=groups,cn=accounts,dc=example,dc=com",
"permissions": [
"write"
]
}
],
"summary": "2 delegations matched",
"truncated": false
}
}

View File

@@ -1,14 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"result": [
{
"aciname": "Test Delegation"
}
],
"summary": "1 delegation matched",
"truncated": false
}
}

View File

@@ -1,30 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"results": [
{
"error": null,
"result": {
"aciname": "Test Delegation",
"attrs": [
"cn",
"displayname",
"givenname",
"initials",
"sn",
"title"
],
"group": "editors",
"memberof": "ipausers",
"permissions": [
"write"
]
},
"summary": null,
"value": "Test Delegation"
}
]
}
}

View File

@@ -1,35 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"count": 2,
"result": [
{
"aciname": "delegme",
"attrs": [
"cn"
],
"filter": "(memberOf=cn=ipausers,cn=groups,cn=accounts,dc=example,dc=com)",
"group": "muppets",
"membergroup": "cn=ipausers,cn=groups,cn=accounts,dc=example,dc=com",
"permissions": [
"write"
]
},
{
"aciname": "m2m",
"attrs": [
"title"
],
"filter": "(memberOf=cn=monsters,cn=groups,cn=accounts,dc=example,dc=com)",
"group": "muppets",
"membergroup": "cn=monsters,cn=groups,cn=accounts,dc=example,dc=com",
"permissions": [
"write"
]
}
],
"summary": "2 delegations matched",
"truncated": false
}
}

View File

@@ -1,21 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": {
"aciname": "m2m",
"attrs": [
"title"
],
"filter": "(memberOf=cn=monsters,cn=groups,cn=accounts,dc=example,dc=com)",
"group": "muppets",
"membergroup": "cn=monsters,cn=groups,cn=accounts,dc=example,dc=com",
"permissions": [
"add",
"delete"
]
},
"summary": "Modified delegation \"m2m\"",
"value": "m2m"
}
}

View File

@@ -1,19 +0,0 @@
{
"error": null,
"id": 4,
"result": {
"result": {
"aciname": "test-deleg",
"attrs": [
"audio"
],
"group": "ipausers",
"memberof": "editors",
"permissions": [
"write"
]
},
"summary": null,
"value": "test-deleg"
}
}

View File

@@ -1,36 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"attributelevelrights": {
"aci": "rscwo",
"cn": "rscwo",
"idnsallowsyncptr": "rscwo",
"idnsforwarders": "rscwo",
"idnsforwardpolicy": "rscwo",
"nsaccountlock": "rscwo",
"objectclass": "rscwo"
},
"cn": [
"dns"
],
"idnsallowsyncptr": [
"FALSE"
],
"idnsforwarders": [
"2001:beef::1"
],
"idnsforwardpolicy": [
"first"
],
"objectclass": [
"idnsConfigObject",
"nsContainer",
"top"
]
},
"summary": null,
"value": ""
}
}

View File

@@ -1,37 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"attributelevelrights": {
"aci": "rscwo",
"cn": "rscwo",
"idnsallowsyncptr": "rscwo",
"idnsforwarders": "rscwo",
"idnsforwardpolicy": "rscwo",
"nsaccountlock": "rscwo",
"objectclass": "rscwo"
},
"cn": [
"dns"
],
"dn": "cn=dns,dc=dev,dc=example,dc=com",
"idnsallowsyncptr": [
"FALSE"
],
"idnsforwarders": [
"2001:beef::1"
],
"idnsforwardpolicy": [
"first"
],
"objectclass": [
"idnsConfigObject",
"nsContainer",
"top"
]
},
"summary": null,
"value": ""
}
}

View File

@@ -1,32 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"dn": "idnsname=fwzone1.test.,cn=dns,dc=example,dc=com",
"idnsforwarders": [
"172.16.15.2",
"172.16.15.1"
],
"idnsforwardpolicy": [
"first"
],
"idnsname": [
{
"__dns_name__": "fwzone1.test."
}
],
"idnszoneactive": [
"TRUE"
],
"objectclass": [
"top",
"idnsforwardzone"
]
},
"summary": null,
"value": {
"__dns_name__": "fwzone1.test."
}
}
}

View File

@@ -1,21 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"results": [
{
"error": null,
"result": {
"failed": []
},
"summary": "Deleted DNS forward zone \"fwzone1.test.\"",
"value": [
{
"__dns_name__": "fwzone1.test."
}
]
}
]
}
}

View File

@@ -1,52 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 2,
"results": [
{
"error": null,
"result": {
"attributelevelrights": {
"aci": "rscwo",
"idnsforwarders": "rscwo",
"idnsforwardpolicy": "rscwo",
"idnsname": "rscwo",
"idnszoneactive": "rscwo",
"nsaccountlock": "rscwo",
"objectclass": "rscwo"
},
"dn": "idnsname=fwzone1.test.,cn=dns,dc=example,dc=com",
"idnsforwarders": [
"172.16.15.2",
"172.16.15.1"
],
"idnsforwardpolicy": [
"first"
],
"idnsname": [
{
"__dns_name__": "fwzone1.test."
}
],
"idnszoneactive": [
"TRUE"
],
"objectclass": [
"top",
"idnsforwardzone"
]
},
"summary": null,
"value": {
"__dns_name__": "fwzone1.test."
}
},
{
"error": "Manage DNS zone fwzone1.test.: permission not found",
"error_code": 4001,
"error_name": "NotFound"
}
]
}
}

View File

@@ -1,19 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"result": [
{
"dn": "idnsname=fwzone1.test.,cn=dns,dc=example,dc=com",
"idnsname": [
{
"__dns_name__": "fwzone1.test."
}
]
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,34 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"results": [
{
"error": null,
"result": {
"dn": "idnsname=fwzone1.test.,cn=dns,dc=example,dc=com",
"idnsforwarders": [
"172.16.15.2",
"172.16.15.1"
],
"idnsforwardpolicy": [
"first"
],
"idnsname": [
{
"__dns_name__": "fwzone1.test."
}
],
"idnszoneactive": [
"TRUE"
]
},
"summary": null,
"value": {
"__dns_name__": "fwzone1.test."
}
}
]
}
}

View File

@@ -1,72 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"dn": "idnsname=my,idnsname=example.com,cn=dns,dc=dev,dc=example,dc=com",
"dnsrecords": [
{
"a_part_ip_address": "10.10.10.11",
"dnsdata": "10.10.10.11",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.12",
"dnsdata": "10.10.10.12",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.13",
"dnsdata": "10.10.10.13",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.14",
"dnsdata": "10.10.10.14",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.16",
"dnsdata": "10.10.10.16",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.15",
"dnsdata": "10.10.10.15",
"dnstype": "A"
},
{
"dnsdata": "10 abc",
"dnstype": "KX",
"kx_part_exchanger": "abc",
"kx_part_preference": "10"
},
{
"dnsdata": "11 foo",
"dnstype": "KX",
"kx_part_exchanger": "foo",
"kx_part_preference": "11"
},
{
"dnsdata": "data",
"dnstype": "TXT",
"txt_part_data": "data"
},
{
"aaaa_part_ip_address": "::1:2:3:4",
"dnsdata": "::1:2:3:4",
"dnstype": "AAAA"
}
],
"idnsname": [
"my"
],
"objectclass": [
"top",
"idnsrecord"
]
},
"summary": null,
"value": "my"
}
}

View File

@@ -1,62 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"dnsrecords": [
{
"a_part_ip_address": "10.10.10.11",
"dnsdata": "10.10.10.11",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.12",
"dnsdata": "10.10.10.12",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.13",
"dnsdata": "10.10.10.13",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.14",
"dnsdata": "10.10.10.14",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.16",
"dnsdata": "10.10.10.16",
"dnstype": "A"
},
{
"dnsdata": "10 abc",
"dnstype": "KX",
"kx_part_exchanger": "abc",
"kx_part_preference": "10"
},
{
"dnsdata": "11 foo",
"dnstype": "KX",
"kx_part_exchanger": "foo",
"kx_part_preference": "11"
},
{
"dnsdata": "data",
"dnstype": "TXT",
"txt_part_data": "data"
},
{
"aaaa_part_ip_address": "::1:2:3:4",
"dnsdata": "::1:2:3:4",
"dnstype": "AAAA"
}
],
"idnsname": [
"my"
]
},
"summary": null,
"value": "my"
}
}

View File

@@ -1,136 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 12,
"result": [
{
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"@"
],
"nsrecord": [
"dev.example.com."
]
},
{
"dn": "idnsname=_kerberos,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos"
],
"txtrecord": [
"EXAMPLE.COM"
]
},
{
"dn": "idnsname=_kerberos-master._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos-master._tcp"
],
"srvrecord": [
"0 100 88 dev"
]
},
{
"dn": "idnsname=_kerberos-master._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos-master._udp"
],
"srvrecord": [
"0 100 88 dev"
]
},
{
"dn": "idnsname=_kerberos._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos._tcp"
],
"srvrecord": [
"0 100 88 dev"
]
},
{
"dn": "idnsname=_kerberos._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos._udp"
],
"srvrecord": [
"0 100 88 dev"
]
},
{
"dn": "idnsname=_kpasswd._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kpasswd._tcp"
],
"srvrecord": [
"0 100 464 dev"
]
},
{
"dn": "idnsname=_kpasswd._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kpasswd._udp"
],
"srvrecord": [
"0 100 464 dev"
]
},
{
"dn": "idnsname=_ldap._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_ldap._tcp"
],
"srvrecord": [
"0 100 389 dev"
]
},
{
"dn": "idnsname=_ntp._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_ntp._udp"
],
"srvrecord": [
"0 100 123 dev"
]
},
{
"aaaarecord": [
"fec0::5054:ff:feb5:5a47"
],
"dn": "idnsname=dev,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"dev"
]
},
{
"aaaarecord": [
"feed:babe:beef:cafe::0001",
"feed:babe:beef:cafe::0002",
"feed:babe:beef:cafe::0004"
],
"arecord": [
"3.4.5.6",
"1.3.5.7",
"10.10.2.1"
],
"dn": "idnsname=testrec,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"testrec"
],
"keyrecord": [
"key"
],
"srvrecord": [
"1 1 80 dev"
],
"txtrecord": [
"A Text Record",
"Another Text Record"
]
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,83 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 12,
"result": [
{
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"@"
]
},
{
"dn": "idnsname=_kerberos,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos"
]
},
{
"dn": "idnsname=_kerberos-master._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos-master._tcp"
]
},
{
"dn": "idnsname=_kerberos-master._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos-master._udp"
]
},
{
"dn": "idnsname=_kerberos._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos._tcp"
]
},
{
"dn": "idnsname=_kerberos._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos._udp"
]
},
{
"dn": "idnsname=_kpasswd._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kpasswd._tcp"
]
},
{
"dn": "idnsname=_kpasswd._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kpasswd._udp"
]
},
{
"dn": "idnsname=_ldap._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_ldap._tcp"
]
},
{
"dn": "idnsname=_ntp._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_ntp._udp"
]
},
{
"dn": "idnsname=dev,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"dev"
]
},
{
"dn": "idnsname=testrec,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"testrec"
]
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,194 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 12,
"results": [
{
"error": null,
"result": {
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"@"
],
"nsrecord": [
"dev.example.com."
]
},
"summary": null,
"value": "@"
},
{
"error": null,
"result": {
"dn": "idnsname=_kerberos,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos"
],
"txtrecord": [
"EXAMPLE.COM"
]
},
"summary": null,
"value": "_kerberos"
},
{
"error": null,
"result": {
"dn": "idnsname=_kerberos-master._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos-master._tcp"
],
"srvrecord": [
"0 100 88 dev"
]
},
"summary": null,
"value": "_kerberos-master._tcp"
},
{
"error": null,
"result": {
"dn": "idnsname=_kerberos-master._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos-master._udp"
],
"srvrecord": [
"0 100 88 dev"
]
},
"summary": null,
"value": "_kerberos-master._udp"
},
{
"error": null,
"result": {
"dn": "idnsname=_kerberos._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos._tcp"
],
"srvrecord": [
"0 100 88 dev"
]
},
"summary": null,
"value": "_kerberos._tcp"
},
{
"error": null,
"result": {
"dn": "idnsname=_kerberos._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kerberos._udp"
],
"srvrecord": [
"0 100 88 dev"
]
},
"summary": null,
"value": "_kerberos._udp"
},
{
"error": null,
"result": {
"dn": "idnsname=_kpasswd._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kpasswd._tcp"
],
"srvrecord": [
"0 100 464 dev"
]
},
"summary": null,
"value": "_kpasswd._tcp"
},
{
"error": null,
"result": {
"dn": "idnsname=_kpasswd._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_kpasswd._udp"
],
"srvrecord": [
"0 100 464 dev"
]
},
"summary": null,
"value": "_kpasswd._udp"
},
{
"error": null,
"result": {
"dn": "idnsname=_ldap._tcp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_ldap._tcp"
],
"srvrecord": [
"0 100 389 dev"
]
},
"summary": null,
"value": "_ldap._tcp"
},
{
"error": null,
"result": {
"dn": "idnsname=_ntp._udp,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"_ntp._udp"
],
"srvrecord": [
"0 100 123 dev"
]
},
"summary": null,
"value": "_ntp._udp"
},
{
"error": null,
"result": {
"aaaarecord": [
"fec0::5054:ff:feb5:5a47"
],
"dn": "idnsname=dev,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"dev"
]
},
"summary": null,
"value": "dev"
},
{
"error": null,
"result": {
"aaaarecord": [
"feed:babe:beef:cafe::0001",
"feed:babe:beef:cafe::0002",
"feed:babe:beef:cafe::0004"
],
"arecord": [
"3.4.5.6",
"1.3.5.7",
"10.10.2.1"
],
"dn": "idnsname=testrec,idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"testrec"
],
"keyrecord": [
"key"
],
"srvrecord": [
"1 1 80 dev"
],
"txtrecord": [
"A Text Record",
"Another Text Record"
]
},
"summary": null,
"value": "testrec"
}
]
}
}

View File

@@ -1,107 +0,0 @@
{
"error": null,
"id": null,
"result": {
"result": {
"attributelevelrights": {
"a6record": "rscwo",
"aaaarecord": "rscwo",
"aci": "rscwo",
"afsdbrecord": "rscwo",
"arecord": "rscwo",
"certrecord": "rscwo",
"cn": "rscwo",
"cnamerecord": "rscwo",
"dnamerecord": "rscwo",
"dnsclass": "rscwo",
"dnsttl": "rscwo",
"dsrecord": "rscwo",
"hinforecord": "rscwo",
"idnsallowdynupdate": "rscwo",
"idnsname": "rscwo",
"keyrecord": "rscwo",
"kxrecord": "rscwo",
"locrecord": "rscwo",
"mdrecord": "rscwo",
"minforecord": "rscwo",
"mxrecord": "rscwo",
"naptrrecord": "rscwo",
"nsaccountlock": "rscwo",
"nsecrecord": "rscwo",
"nsrecord": "rscwo",
"nxtrecord": "rscwo",
"objectclass": "rscwo",
"ptrrecord": "rscwo",
"rrsigrecord": "rscwo",
"sigrecord": "rscwo",
"srvrecord": "rscwo",
"sshfprecord": "rscwo",
"txtrecord": "rscwo"
},
"dn": "idnsname=my,idnsname=example.com,cn=dns,dc=dev,dc=example,dc=com",
"dnsrecords": [
{
"a_part_ip_address": "10.10.10.11",
"dnsdata": "10.10.10.11",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.12",
"dnsdata": "10.10.10.12",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.13",
"dnsdata": "10.10.10.13",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.14",
"dnsdata": "10.10.10.14",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.16",
"dnsdata": "10.10.10.16",
"dnstype": "A"
},
{
"a_part_ip_address": "10.10.10.10",
"dnsdata": "10.10.10.10",
"dnstype": "A"
},
{
"dnsdata": "10 abc",
"dnstype": "KX",
"kx_part_exchanger": "abc",
"kx_part_preference": "10"
},
{
"dnsdata": "11 foo",
"dnstype": "KX",
"kx_part_exchanger": "foo",
"kx_part_preference": "11"
},
{
"dnsdata": "data",
"dnstype": "TXT",
"txt_part_data": "data"
},
{
"aaaa_part_ip_address": "::1:2:3:4",
"dnsdata": "::1:2:3:4",
"dnstype": "AAAA"
}
],
"idnsname": [
"my"
],
"objectclass": [
"top",
"idnsrecord"
]
},
"summary": null,
"value": "my"
}
}

View File

@@ -1,46 +0,0 @@
{
"error": null,
"id": 3,
"result": {
"result": {
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsallowdynupdate": [
"FALSE"
],
"idnsname": [
"example.com"
],
"idnssoaexpire": [
"1209600"
],
"idnssoaminimum": [
"3600"
],
"idnssoamname": [
"example.com"
],
"idnssoarefresh": [
"3600"
],
"idnssoaretry": [
"900"
],
"idnssoarname": [
"root.example.com."
],
"idnssoaserial": [
"2010021201"
],
"idnszoneactive": [
"TRUE"
],
"objectclass": [
"top",
"idnsrecord",
"idnszone"
]
},
"summary": null,
"value": "example.com"
}
}

View File

@@ -1,119 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 2,
"results": [
{
"error": null,
"result": {
"attributelevelrights": {
"a6record": "rscwo",
"aaaarecord": "rscwo",
"aci": "rscwo",
"afsdbrecord": "rscwo",
"arecord": "rscwo",
"certrecord": "rscwo",
"cn": "rscwo",
"cnamerecord": "rscwo",
"dnamerecord": "rscwo",
"dnsclass": "rscwo",
"dnsttl": "rscwo",
"dsrecord": "rscwo",
"hinforecord": "rscwo",
"idnsallowdynupdate": "rscwo",
"idnsallowquery": "rscwo",
"idnsallowsyncptr": "rscwo",
"idnsallowtransfer": "rscwo",
"idnsforwarders": "rscwo",
"idnsforwardpolicy": "rscwo",
"idnsname": "rscwo",
"idnssoaexpire": "rscwo",
"idnssoaminimum": "rscwo",
"idnssoamname": "rscwo",
"idnssoarefresh": "rscwo",
"idnssoaretry": "rscwo",
"idnssoarname": "rscwo",
"idnssoaserial": "rscwo",
"idnsupdatepolicy": "rscwo",
"idnszoneactive": "rscwo",
"keyrecord": "rscwo",
"kxrecord": "rscwo",
"locrecord": "rscwo",
"managedby": "rscwo",
"mdrecord": "rscwo",
"minforecord": "rscwo",
"mxrecord": "rscwo",
"naptrrecord": "rscwo",
"nsaccountlock": "rscwo",
"nsecrecord": "rscwo",
"nsrecord": "rscwo",
"nxtrecord": "rscwo",
"objectclass": "rscwo",
"ptrrecord": "rscwo",
"rrsigrecord": "rscwo",
"sigrecord": "rscwo",
"srvrecord": "rscwo",
"sshfprecord": "rscwo",
"txtrecord": "rscwo"
},
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsallowdynupdate": [
"FALSE"
],
"idnsallowquery": [
"any;"
],
"idnsallowtransfer": [
"none;"
],
"idnsname": [
"example.com"
],
"idnssoaexpire": [
"1209600"
],
"idnssoaminimum": [
"3600"
],
"idnssoamname": [
"test.example.com."
],
"idnssoarefresh": [
"3600"
],
"idnssoaretry": [
"900"
],
"idnssoarname": [
"hostmaster.example.com."
],
"idnssoaserial": [
"2012070401"
],
"idnsupdatepolicy": [
"grant EXAMPLE.COM krb5-self * A; grant EXAMPLE.COM krb5-self * AAAA; grant EXAMPLE.COM krb5-self * SSHFP;"
],
"idnszoneactive": [
"TRUE"
],
"nsrecord": [
"test.example.com."
],
"objectclass": [
"top",
"idnsrecord",
"idnszone"
]
},
"summary": null,
"value": "example.com"
},
{
"error": "Manage DNS zone example.com: permission not found",
"error_code": 4001,
"error_name": "NotFound"
}
]
}
}

View File

@@ -1,99 +0,0 @@
{
"error": null,
"id": 6,
"result": {
"count": 2,
"result": [
{
"dn": "idnsname=1.168.192.in-addr.arpa,cn=dns,dc=example,dc=com",
"idnsallowdynupdate": [
"TRUE"
],
"idnsname": [
"1.168.192.in-addr.arpa"
],
"idnssoaexpire": [
"1209600"
],
"idnssoaminimum": [
"3600"
],
"idnssoamname": [
"dev.example.com."
],
"idnssoarefresh": [
"3600"
],
"idnssoaretry": [
"900"
],
"idnssoarname": [
"root.1.168.192.in-addr.arpa."
],
"idnssoaserial": [
"2010021201"
],
"idnsupdatepolicy": [
"grant EXAMPLE.COM krb5-subdomain 1.168.192.in-addr.arpa. PTR;"
],
"idnszoneactive": [
"TRUE"
],
"nsrecord": [
"dev.example.com."
],
"objectclass": [
"top",
"idnsrecord",
"idnszone"
]
},
{
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsallowdynupdate": [
"TRUE"
],
"idnsname": [
"example.com"
],
"idnssoaexpire": [
"1209600"
],
"idnssoaminimum": [
"3600"
],
"idnssoamname": [
"dev.example.com."
],
"idnssoarefresh": [
"3600"
],
"idnssoaretry": [
"900"
],
"idnssoarname": [
"root.dev.example.com."
],
"idnssoaserial": [
"2010021201"
],
"idnsupdatepolicy": [
"grant EXAMPLE.COM krb5-self * A;"
],
"idnszoneactive": [
"TRUE"
],
"nsrecord": [
"dev.example.com."
],
"objectclass": [
"top",
"idnsrecord",
"idnszone"
]
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,29 +0,0 @@
{
"error": null,
"id": 6,
"result": {
"count": 2,
"result": [
{
"dn": "idnsname=1.168.192.in-addr.arpa,cn=dns,dc=example,dc=com",
"idnsname": [
"1.168.192.in-addr.arpa"
]
},
{
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsname": [
"example.com"
]
},
{
"dn": "idnsname=test.com,cn=dns,dc=example,dc=com",
"idnsname": [
"test.com"
]
}
],
"summary": null,
"truncated": false
}
}

View File

@@ -1,156 +0,0 @@
{
"error": null,
"id": 6,
"result": {
"count": 2,
"results": [
{
"error": null,
"result": {
"dn": "idnsname=1.168.192.in-addr.arpa,cn=dns,dc=example,dc=com",
"idnsallowdynupdate": [
"TRUE"
],
"idnsname": [
"1.168.192.in-addr.arpa"
],
"idnssoaexpire": [
"1209600"
],
"idnssoaminimum": [
"3600"
],
"idnssoamname": [
"dev.example.com."
],
"idnssoarefresh": [
"3600"
],
"idnssoaretry": [
"900"
],
"idnssoarname": [
"root.1.168.192.in-addr.arpa."
],
"idnssoaserial": [
"2010021201"
],
"idnsupdatepolicy": [
"grant EXAMPLE.COM krb5-subdomain 1.168.192.in-addr.arpa. PTR;"
],
"idnszoneactive": [
"TRUE"
],
"nsrecord": [
"dev.example.com."
],
"objectclass": [
"top",
"idnsrecord",
"idnszone"
]
},
"summary": null,
"value": "1.168.192.in-addr.arpa"
},
{
"error": null,
"result": {
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsallowdynupdate": [
"TRUE"
],
"idnsname": [
"example.com"
],
"idnssoaexpire": [
"1209600"
],
"idnssoaminimum": [
"3600"
],
"idnssoamname": [
"dev.example.com."
],
"idnssoarefresh": [
"3600"
],
"idnssoaretry": [
"900"
],
"idnssoarname": [
"root.dev.example.com."
],
"idnssoaserial": [
"2010021201"
],
"idnsupdatepolicy": [
"grant EXAMPLE.COM krb5-self * A;"
],
"idnszoneactive": [
"TRUE"
],
"nsrecord": [
"dev.example.com."
],
"objectclass": [
"top",
"idnsrecord",
"idnszone"
]
},
"summary": null,
"value": "example.com"
},
{
"error": null,
"result": {
"dn": "idnsname=test.com,cn=dns,dc=example,dc=com",
"idnsallowdynupdate": [
"TRUE"
],
"idnsname": [
"test.com"
],
"idnssoaexpire": [
"1209600"
],
"idnssoaminimum": [
"3600"
],
"idnssoamname": [
"dev.example.com."
],
"idnssoarefresh": [
"3600"
],
"idnssoaretry": [
"900"
],
"idnssoarname": [
"root.dev.example.com."
],
"idnssoaserial": [
"2010021201"
],
"idnsupdatepolicy": [
"grant TEST.COM krb5-self * A;"
],
"idnszoneactive": [
"FALSE"
],
"nsrecord": [
"dev.example.com."
],
"objectclass": [
"top",
"idnsrecord",
"idnszone"
]
},
"summary": null,
"value": "test.com"
}
]
}
}

View File

@@ -1,110 +0,0 @@
{
"error": null,
"id": 7,
"result": {
"result": {
"attributelevelrights": {
"a6record": "rscwo",
"aaaarecord": "rscwo",
"aci": "rscwo",
"afsdbrecord": "rscwo",
"arecord": "rscwo",
"certrecord": "rscwo",
"cn": "rscwo",
"cnamerecord": "rscwo",
"dnamerecord": "rscwo",
"dnsclass": "rscwo",
"dnsttl": "rscwo",
"dsrecord": "rscwo",
"hinforecord": "rscwo",
"idnsallowdynupdate": "rscwo",
"idnsallowquery": "rscwo",
"idnsallowsyncptr": "rscwo",
"idnsallowtransfer": "rscwo",
"idnsforwarders": "rscwo",
"idnsforwardpolicy": "rscwo",
"idnsname": "rscwo",
"idnssoaexpire": "rscwo",
"idnssoaminimum": "rscwo",
"idnssoamname": "rscwo",
"idnssoarefresh": "rscwo",
"idnssoaretry": "rscwo",
"idnssoarname": "rscwo",
"idnssoaserial": "rscwo",
"idnsupdatepolicy": "rscwo",
"idnszoneactive": "rscwo",
"keyrecord": "rscwo",
"kxrecord": "rscwo",
"locrecord": "rscwo",
"mdrecord": "rscwo",
"minforecord": "rscwo",
"mxrecord": "rscwo",
"naptrrecord": "rscwo",
"nsaccountlock": "rscwo",
"nsecrecord": "rscwo",
"nsrecord": "rscwo",
"nxtrecord": "rscwo",
"objectclass": "rscwo",
"ptrrecord": "rscwo",
"rrsigrecord": "rscwo",
"sigrecord": "rscwo",
"srvrecord": "rscwo",
"sshfprecord": "rscwo",
"txtrecord": "rscwo"
},
"dn": "idnsname=example.com,cn=dns,dc=example,dc=com",
"idnsallowdynupdate": [
"FALSE"
],
"idnsallowquery": [
"any"
],
"idnsallowsyncptr": [
"TRUE"
],
"idnsallowtransfer": [
"none"
],
"idnsforwarders": [
"2003:beef::24"
],
"idnsforwardpolicy": [
"only"
],
"idnsname": [
"example.com"
],
"idnssoaexpire": [
"1209600"
],
"idnssoaminimum": [
"3600"
],
"idnssoamname": [
"example.com"
],
"idnssoarefresh": [
"3600"
],
"idnssoaretry": [
"900"
],
"idnssoarname": [
"root.example.com."
],
"idnssoaserial": [
"2010021201"
],
"idnszoneactive": [
"TRUE"
],
"objectclass": [
"top",
"idnsrecord",
"idnszone"
]
},
"summary": null,
"value": "example.com"
}
}

View File

@@ -1,31 +0,0 @@
{
"error": null,
"id": 12,
"result": {
"result": {
"cn": [
"neighbors"
],
"description": [
"The People in Your Neighborhood"
],
"dn": "cn=neighbors,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"123456"
],
"ipauniqueid": [
"0dbae87a-b43a-11df-ac8e-525400674dcd"
],
"objectclass": [
"top",
"groupofnames",
"nestedgroup",
"ipausergroup",
"ipaobject",
"posixgroup"
]
},
"summary": null,
"value": "neighbors"
}
}

View File

@@ -1,25 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 1,
"failed": {
"member": {
"group": [],
"user": []
}
},
"result": {
"cn": [
"testgroup"
],
"description": [
"testgroup"
],
"dn": "cn=testgroup,cn=groups,cn=accounts,dc=example,dc=com",
"member_user": [
"kfrog"
]
}
}
}

View File

@@ -1,82 +0,0 @@
{
"error": null,
"id": 2,
"result": {
"count": 5,
"result": [
{
"cn": [
"admins"
],
"description": [
"Account administrators group"
],
"dn": "cn=admins,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800000"
],
"member_user": [
"admin"
]
},
{
"cn": [
"ipausers"
],
"description": [
"Default group for all users"
],
"dn": "cn=ipausers,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800001"
],
"member_user": [
"kfrog",
"count123",
"scram",
"elmo",
"zoe",
"pdawn"
]
},
{
"cn": [
"editors"
],
"description": [
"Limited admins who can edit other users"
],
"dn": "cn=editors,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800002"
]
},
{
"cn": [
"monsters"
],
"description": [
"Monsters on Sesame Street"
],
"dn": "cn=monsters,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800009"
]
},
{
"cn": [
"muppets"
],
"description": [
"Muppets moonlighting for CTW"
],
"dn": "cn=muppets,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800010"
]
}
],
"summary": "5 groups matched",
"truncated": false
}
}

View File

@@ -1,41 +0,0 @@
{
"error": null,
"id": 2,
"result": {
"count": 5,
"result": [
{
"cn": [
"admins"
],
"dn": "cn=admins,cn=groups,cn=accounts,dc=example,dc=com"
},
{
"cn": [
"ipausers"
],
"dn": "cn=ipausers,cn=groups,cn=accounts,dc=example,dc=com"
},
{
"cn": [
"editors"
],
"dn": "cn=editors,cn=groups,cn=accounts,dc=example,dc=com"
},
{
"cn": [
"monsters"
],
"dn": "cn=monsters,cn=groups,cn=accounts,dc=example,dc=com"
},
{
"cn": [
"muppets"
],
"dn": "cn=muppets,cn=groups,cn=accounts,dc=example,dc=com"
}
],
"summary": "5 groups matched",
"truncated": false
}
}

View File

@@ -1,105 +0,0 @@
{
"error": null,
"id": 2,
"result": {
"count": 5,
"results": [
{
"error": null,
"result": {
"cn": [
"admins"
],
"description": [
"Account administrators group"
],
"dn": "cn=admins,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800000"
],
"member_user": [
"admin"
]
},
"summary": null,
"value": "admins"
},
{
"error": null,
"result": {
"cn": [
"ipausers"
],
"description": [
"Default group for all users"
],
"dn": "cn=ipausers,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800001"
],
"member_user": [
"kfrog",
"count123",
"scram",
"elmo",
"zoe",
"pdawn"
]
},
"summary": null,
"value": "ipausers"
},
{
"error": null,
"result": {
"cn": [
"editors"
],
"description": [
"Limited admins who can edit other users"
],
"dn": "cn=editors,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800002"
]
},
"summary": null,
"value": "editors"
},
{
"error": null,
"result": {
"cn": [
"monsters"
],
"description": [
"Monsters on Sesame Street"
],
"dn": "cn=monsters,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800009"
]
},
"summary": null,
"value": "monsters"
},
{
"error": null,
"result": {
"cn": [
"muppets"
],
"description": [
"Muppets moonlighting for CTW"
],
"dn": "cn=muppets,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1420800010"
]
},
"summary": null,
"value": "muppets"
}
]
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,44 +0,0 @@
{
"error": null,
"id": 6,
"result": {
"completed": 0,
"failed": {
"member": {
"group": [],
"user": []
}
},
"result": {
"cn": [
"muppets"
],
"description": [
"Muppets moonlighting for CTW"
],
"dn": "cn=muppets,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1950316043"
],
"ipauniqueid": [
"0ee0f096-e36c11df-96f18479-3e1281d2"
],
"member_user": [
"admin",
"kfrog",
"count123",
"scram",
"zoe",
"pdawn"
],
"objectclass": [
"top",
"groupofnames",
"nestedgroup",
"ipausergroup",
"ipaobject",
"posixgroup"
]
}
}
}

View File

@@ -1,280 +1,22 @@
{
"error": null,
"id": null,
"result": {
"result": {
"cn": [
"ipausers"
],
"description": [
"Default group for all users"
],
"dn": "cn=ipausers,cn=groups,cn=accounts,dc=example,dc=com",
"gidnumber": [
"1576000001"
],
"member_user": [
"dmontes",
"sroberson",
"vmendoza",
"mvang",
"arhodes",
"ngutierrez",
"lbaldwin",
"uevans",
"fwolfe",
"mdyer",
"ibeard",
"lduran",
"cmcintosh",
"nmartinez",
"sshepherd",
"tosborn",
"mcarney",
"scohen",
"jbuckley",
"jgould",
"ewatkins",
"abradley",
"lhall",
"dkelly",
"drosario",
"jpreston",
"mjefferson",
"jwu",
"marcher",
"rhale",
"jmckee",
"cduffy",
"adaniels",
"acarlson",
"wryan",
"mclay",
"mgates",
"jmccann",
"mvaughan",
"grobles",
"llarson",
"mbailey",
"dbriggs",
"ekane",
"bgross",
"smcclure",
"mkrause",
"sparrish",
"bmcgee",
"kfisher",
"mestes",
"mlong",
"aromero",
"agordon",
"vgriffin",
"chartman",
"lcohen",
"fstrong",
"lgross",
"kmills",
"mbutler",
"jmaynard",
"jmccarty",
"jburch",
"kreyes",
"ckramer",
"chuynh",
"bbauer",
"ipotts",
"ldennis",
"kgonzalez",
"mtravis",
"tcase",
"groman",
"tburch",
"dmyers",
"rcannon",
"apeterson",
"lbarnett",
"eclay",
"lstevenson",
"lnewman",
"crobles",
"sbarron",
"smcfarland",
"sknapp",
"ghouse",
"lgeorge",
"swoodard",
"dphillips",
"candrade",
"jmcfarland",
"ccarson",
"cgreer",
"khuerta",
"dblevins",
"bswanson",
"chickman",
"rcarrillo",
"jkaufman",
"kshaw",
"gowen",
"rcontreras",
"cmccullough",
"krivera",
"jbarron",
"sbradford",
"lwilson",
"jvelez",
"dlopez",
"lgibbs",
"jsnow",
"sklein",
"lsharp",
"mcameron",
"flam",
"nparker",
"lhogan",
"lmorrison",
"bnewton",
"athompson",
"jsanford",
"rcohen",
"cmelendez",
"yjacobs",
"mmcintyre",
"dhood",
"mescobar",
"mvilla",
"dshort",
"okennedy",
"cvillarreal",
"skane",
"vreyes",
"lrobinson",
"mbright",
"eriley",
"ehunt",
"ctrujillo",
"hrichard",
"sserrano",
"nramirez",
"zschneider",
"mtanner",
"hcalderon",
"sroy",
"mblevins",
"rhampton",
"kpeters",
"gmoody",
"kgraham",
"lpacheco",
"swalter",
"aortega",
"spruitt",
"lchandler",
"wnichols",
"eberry",
"kzhang",
"cheath",
"tproctor",
"vgill",
"ageorge",
"cwiggins",
"clloyd",
"mrichardson",
"bblair",
"mdonovan",
"dmoses",
"jkhan",
"mcrane",
"gmcintosh",
"wweaver",
"abarrett",
"pcarroll",
"twebster",
"omcdonald",
"bwolfe",
"aortiz",
"dbean",
"hpittman",
"bpage",
"jmullen",
"lcabrera",
"mbray",
"kpatterson",
"lwalters",
"ljennings",
"mrowland",
"srich",
"jvilla",
"jzavala",
"avaldez",
"ehayes",
"jjoyce",
"scastaneda",
"mwoodard",
"cbarrera",
"aobrien",
"jvillanueva",
"jhowe",
"cstout",
"mwhitehead",
"ajennings",
"dfrye",
"bbarber",
"twilson",
"kfernandez",
"eherrera",
"dyoung",
"pjohnston",
"jbean",
"ldawson",
"kwood",
"tcrane",
"rwelch",
"wholmes",
"cchristian",
"ffrazier",
"bmullins",
"tduarte",
"elawrence",
"rgregory",
"ssteele",
"ktravis",
"llee",
"sorr",
"bbush",
"ublake",
"kjohnson",
"vcannon",
"mandrade",
"emeyer",
"hpeck",
"ssantana",
"lluna",
"fneal",
"lswanson",
"rlynch",
"pcarpenter",
"cblackwell",
"sfrost",
"cconner",
"stanner",
"opayne",
"jriggs",
"jhuynh"
],
"memberof_group": [
"editors"
],
"objectclass": [
"top",
"groupofnames",
"nestedgroup",
"ipausergroup",
"ipaobject",
"posixgroup"
]
},
"summary": null,
"value": "ipausers"
}
"result" : {
"result" : {
"dn" : "cn=ipausers,cn=groups,cn=accounts,dc=dom,dc=example,dc=com",
"cn" : [
"ipausers"
],
"description" : [
"Default group for all users"
],
"member_user" : [
"kfrog"
]
},
"summary" : null,
"value" : "ipausers"
},
"id" : null,
"principal" : "admin@DOM.EXAMPLE.COM",
"error" : null,
"version" : "4.5.90.dev201706131442+gitd665224"
}

View File

@@ -1,27 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": {
"accessruletype": [
"allow"
],
"cn": [
"test"
],
"dn": "ipauniqueid=f3e69e82-e3b411df-bfde9b13-2b28c216,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"f3e69e82-e3b411df-bfde9b13-2b28c216"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "test"
}
}

View File

@@ -1,7 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": true
}
}

View File

@@ -1,56 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 2,
"failed": {
"memberhost": {
"host": [],
"hostgroup": []
}
},
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"cn": [
"test"
],
"dn": "ipauniqueid=e8aca082-e64a11df-9864f2e0-e0578392,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"memberhost_host": [
"dev.example.com"
],
"memberhost_hostgroup": [
"production"
],
"memberservice_hbacsvc": [
"ftp",
"sshd"
],
"memberservice_hbacsvcgroup": [
"sudo"
],
"memberuser_group": [
"admins",
"editors"
],
"memberuser_user": [
"admin",
"test"
],
"sourcehost_host": [
"dev.example.com"
],
"sourcehost_hostgroup": [
"staging"
]
}
}
}

View File

@@ -1,56 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 3,
"failed": {
"memberservice": {
"hbacsvc": [],
"hbacsvcgroup": []
}
},
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"cn": [
"test"
],
"dn": "ipauniqueid=e8aca082-e64a11df-9864f2e0-e0578392,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"memberhost_host": [
"dev.example.com"
],
"memberhost_hostgroup": [
"production"
],
"memberservice_hbacsvc": [
"ftp",
"sshd"
],
"memberservice_hbacsvcgroup": [
"sudo"
],
"memberuser_group": [
"admins",
"editors"
],
"memberuser_user": [
"admin",
"test"
],
"sourcehost_host": [
"dev.example.com"
],
"sourcehost_hostgroup": [
"staging"
]
}
}
}

View File

@@ -1,56 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 2,
"failed": {
"sourcehost": {
"host": [],
"hostgroup": []
}
},
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"cn": [
"test"
],
"dn": "ipauniqueid=e8aca082-e64a11df-9864f2e0-e0578392,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"memberhost_host": [
"dev.example.com"
],
"memberhost_hostgroup": [
"production"
],
"memberservice_hbacsvc": [
"ftp",
"sshd"
],
"memberservice_hbacsvcgroup": [
"sudo"
],
"memberuser_group": [
"admins",
"editors"
],
"memberuser_user": [
"admin",
"test"
],
"sourcehost_host": [
"dev.example.com"
],
"sourcehost_hostgroup": [
"staging"
]
}
}
}

View File

@@ -1,56 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 3,
"failed": {
"memberuser": {
"group": [],
"user": []
}
},
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"cn": [
"test"
],
"dn": "ipauniqueid=e8aca082-e64a11df-9864f2e0-e0578392,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"memberhost_host": [
"dev.example.com"
],
"memberhost_hostgroup": [
"production"
],
"memberservice_hbacsvc": [
"ftp",
"sshd"
],
"memberservice_hbacsvcgroup": [
"sudo"
],
"memberuser_group": [
"admins",
"editors"
],
"memberuser_user": [
"admin",
"test"
],
"sourcehost_host": [
"dev.example.com"
],
"sourcehost_hostgroup": [
"staging"
]
}
}
}

View File

@@ -1,9 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": true,
"summary": null,
"value": "test"
}
}

View File

@@ -1,38 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 1,
"result": [
{
"accessruletype": [
"allow"
],
"cn": [
"allow_all"
],
"description": [
"Allow all users to access any host from any host"
],
"dn": "ipauniqueid=ca842a42-a445-11e0-87ff-525400b55a47,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
}
],
"summary": "1 HBAC rule matched",
"truncated": false
}
}

View File

@@ -1,137 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 21,
"result": [
{
"cn": [
"allow_all"
],
"dn": "ipauniqueid=007ff62a-20fc-11e1-b5f6-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule01"
],
"dn": "ipauniqueid=ce568648-211c-11e1-8846-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule02"
],
"dn": "ipauniqueid=d0133224-211c-11e1-b881-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule03"
],
"dn": "ipauniqueid=d21db45e-211c-11e1-bef8-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule04"
],
"dn": "ipauniqueid=d4209604-211c-11e1-9192-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule05"
],
"dn": "ipauniqueid=d59dba70-211c-11e1-9ce3-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule06"
],
"dn": "ipauniqueid=d7d49c8c-211c-11e1-9192-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule07"
],
"dn": "ipauniqueid=da048e36-211c-11e1-a6a9-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule08"
],
"dn": "ipauniqueid=e15223c4-211c-11e1-b9de-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule09"
],
"dn": "ipauniqueid=e324f8c0-211c-11e1-9eb4-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule10"
],
"dn": "ipauniqueid=e5161178-211c-11e1-b2b4-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule11"
],
"dn": "ipauniqueid=e70cf4c4-211c-11e1-bb9f-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule12"
],
"dn": "ipauniqueid=f18be298-211c-11e1-b881-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule13"
],
"dn": "ipauniqueid=f449a204-211c-11e1-aad4-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule14"
],
"dn": "ipauniqueid=f792fd84-211c-11e1-9cac-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule15"
],
"dn": "ipauniqueid=fef03790-211c-11e1-bd50-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule16"
],
"dn": "ipauniqueid=015f362a-211d-11e1-8e68-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule17"
],
"dn": "ipauniqueid=124d7690-211d-11e1-9ce3-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule18"
],
"dn": "ipauniqueid=145e2d30-211d-11e1-b05c-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule19"
],
"dn": "ipauniqueid=17685668-211d-11e1-bb9f-000c29e9f1b6,cn=hbac,dc=example,dc=com"
},
{
"cn": [
"rule20"
],
"dn": "ipauniqueid=19537b06-211d-11e1-9569-000c29e9f1b6,cn=hbac,dc=example,dc=com"
}
],
"summary": "21 HBAC rules matched",
"truncated": false
}
}

View File

@@ -1,639 +0,0 @@
{
"error": null,
"id": null,
"result": {
"count": 20,
"results": [
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"allow_all"
],
"description": [
"Allow all users to access any host from any host"
],
"dn": "ipauniqueid=007ff62a-20fc-11e1-b5f6-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"007ff62a-20fc-11e1-b5f6-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "allow_all"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule01"
],
"description": [
"Test HBAC Rule 01"
],
"dn": "ipauniqueid=ce568648-211c-11e1-8846-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"ce568648-211c-11e1-8846-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule01"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule02"
],
"description": [
"Test HBAC Rule 02"
],
"dn": "ipauniqueid=d0133224-211c-11e1-b881-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"d0133224-211c-11e1-b881-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule02"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule03"
],
"description": [
"Test HBAC Rule 03"
],
"dn": "ipauniqueid=d21db45e-211c-11e1-bef8-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"d21db45e-211c-11e1-bef8-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule03"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule04"
],
"description": [
"Test HBAC Rule 04"
],
"dn": "ipauniqueid=d4209604-211c-11e1-9192-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"FALSE"
],
"ipauniqueid": [
"d4209604-211c-11e1-9192-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule04"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule05"
],
"description": [
"Test HBAC Rule 05"
],
"dn": "ipauniqueid=d59dba70-211c-11e1-9ce3-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"d59dba70-211c-11e1-9ce3-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule05"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule06"
],
"dn": "ipauniqueid=d7d49c8c-211c-11e1-9192-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"d7d49c8c-211c-11e1-9192-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule06"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule07"
],
"dn": "ipauniqueid=da048e36-211c-11e1-a6a9-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"da048e36-211c-11e1-a6a9-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule07"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule08"
],
"dn": "ipauniqueid=e15223c4-211c-11e1-b9de-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"e15223c4-211c-11e1-b9de-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule08"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule09"
],
"dn": "ipauniqueid=e324f8c0-211c-11e1-9eb4-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"e324f8c0-211c-11e1-9eb4-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule09"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule10"
],
"dn": "ipauniqueid=e5161178-211c-11e1-b2b4-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"e5161178-211c-11e1-b2b4-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "rule10"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule11"
],
"dn": "ipauniqueid=e70cf4c4-211c-11e1-bb9f-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"e70cf4c4-211c-11e1-bb9f-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule11"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule12"
],
"dn": "ipauniqueid=f18be298-211c-11e1-b881-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"f18be298-211c-11e1-b881-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule12"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule13"
],
"dn": "ipauniqueid=f449a204-211c-11e1-aad4-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"f449a204-211c-11e1-aad4-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule13"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule14"
],
"dn": "ipauniqueid=f792fd84-211c-11e1-9cac-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"f792fd84-211c-11e1-9cac-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule14"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule15"
],
"dn": "ipauniqueid=fef03790-211c-11e1-bd50-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"fef03790-211c-11e1-bd50-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule15"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule16"
],
"dn": "ipauniqueid=015f362a-211d-11e1-8e68-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"FALSE"
],
"ipauniqueid": [
"015f362a-211d-11e1-8e68-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule16"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule17"
],
"dn": "ipauniqueid=124d7690-211d-11e1-9ce3-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"FALSE"
],
"ipauniqueid": [
"124d7690-211d-11e1-9ce3-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule17"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule18"
],
"dn": "ipauniqueid=145e2d30-211d-11e1-b05c-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"145e2d30-211d-11e1-b05c-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule18"
},
{
"error": null,
"result": {
"accessruletype": [
"allow"
],
"cn": [
"rule19"
],
"dn": "ipauniqueid=17685668-211d-11e1-bb9f-000c29e9f1b6,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"17685668-211d-11e1-bb9f-000c29e9f1b6"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
]
},
"summary": null,
"value": "rule19"
}
]
}
}

View File

@@ -1,60 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": {
"accessruletype": [
"allow"
],
"attributelevelrights": {
"accessruletype": "rscwo",
"accesstime": "rscwo",
"aci": "rscwo",
"cn": "rscwo",
"description": "rscwo",
"externalhost": "rscwo",
"hostcategory": "rscwo",
"ipaenabledflag": "rscwo",
"ipauniqueid": "rsc",
"memberhost": "rscwo",
"memberservice": "rscwo",
"memberuser": "rscwo",
"nsaccountlock": "rscwo",
"servicecategory": "rscwo",
"sourcehost": "rscwo",
"sourcehostcategory": "rscwo",
"usercategory": "rscwo"
},
"cn": [
"test"
],
"description": [
"Test HBAC rule."
],
"hostcategory": [
"all"
],
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"4ed8b682-edf511df-b3f78f4b-11cc007b"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"servicecategory": [
"all"
],
"sourcehostcategory": [
"all"
],
"usercategory": [
"all"
]
},
"summary": null,
"value": "test"
}
}

View File

@@ -1,7 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": true
}
}

View File

@@ -1,50 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 2,
"failed": {
"memberhost": {
"host": [],
"hostgroup": []
}
},
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"cn": [
"test"
],
"dn": "ipauniqueid=e8aca082-e64a11df-9864f2e0-e0578392,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"memberservice_hbacsvc": [
"ftp",
"sshd"
],
"memberservice_hbacsvcgroup": [
"sudo"
],
"memberuser_group": [
"admins",
"editors"
],
"memberuser_user": [
"admin",
"test"
],
"sourcehost_host": [
"dev.example.com"
],
"sourcehost_hostgroup": [
"staging"
]
}
}
}

View File

@@ -1,49 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 3,
"failed": {
"memberservice": {
"hbacsvc": [],
"hbacsvcgroup": []
}
},
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"cn": [
"test"
],
"dn": "ipauniqueid=e8aca082-e64a11df-9864f2e0-e0578392,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"memberhost_host": [
"dev.example.com"
],
"memberhost_hostgroup": [
"production"
],
"memberuser_group": [
"admins",
"editors"
],
"memberuser_user": [
"admin",
"test"
],
"sourcehost_host": [
"dev.example.com"
],
"sourcehost_hostgroup": [
"staging"
]
}
}
}

View File

@@ -1,50 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 2,
"failed": {
"sourcehost": {
"host": [],
"hostgroup": []
}
},
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"cn": [
"test"
],
"dn": "ipauniqueid=e8aca082-e64a11df-9864f2e0-e0578392,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"memberhost_host": [
"dev.example.com"
],
"memberhost_hostgroup": [
"production"
],
"memberservice_hbacsvc": [
"ftp",
"sshd"
],
"memberservice_hbacsvcgroup": [
"sudo"
],
"memberuser_group": [
"admins",
"editors"
],
"memberuser_user": [
"admin",
"test"
]
}
}
}

View File

@@ -1,48 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"completed": 3,
"failed": {
"memberuser": {
"group": [],
"user": []
}
},
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"cn": [
"test"
],
"dn": "ipauniqueid=e8aca082-e64a11df-9864f2e0-e0578392,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"memberhost_host": [
"dev.example.com"
],
"memberhost_hostgroup": [
"production"
],
"memberservice_hbacsvc": [
"ftp",
"sshd"
],
"memberservice_hbacsvcgroup": [
"sudo"
],
"sourcehost_host": [
"dev.example.com"
],
"sourcehost_hostgroup": [
"staging"
]
}
}
}

View File

@@ -1,76 +0,0 @@
{
"error": null,
"id": 0,
"result": {
"result": {
"accessruletype": [
"allow"
],
"accesstime": [
"periodic daily 0800-1400",
"absolute 201012161032 ~ 201012161033"
],
"attributelevelrights": {
"accessruletype": "rscwo",
"accesstime": "rscwo",
"aci": "rscwo",
"cn": "rscwo",
"description": "rscwo",
"externalhost": "rscwo",
"hostcategory": "rscwo",
"ipaenabledflag": "rscwo",
"ipauniqueid": "rsc",
"memberhost": "rscwo",
"memberservice": "rscwo",
"memberuser": "rscwo",
"nsaccountlock": "rscwo",
"servicecategory": "rscwo",
"sourcehost": "rscwo",
"sourcehostcategory": "rscwo",
"usercategory": "rscwo"
},
"cn": [
"rule1"
],
"dn": "ipauniqueid=4ed8b682-edf511df-b3f78f4b-11cc007b,cn=hbac,dc=example,dc=com",
"ipaenabledflag": [
"TRUE"
],
"ipauniqueid": [
"4ed8b682-edf511df-b3f78f4b-11cc007b"
],
"memberhost_host": [
"dev.example.com"
],
"memberhost_hostgroup": [
"production"
],
"memberservice_hbacsvc": [
"ftp",
"sshd"
],
"memberservice_hbacsvcgroup": [
"sudo"
],
"memberuser_group": [
"editors"
],
"memberuser_user": [
"admin",
"test"
],
"objectclass": [
"ipaassociation",
"ipahbacrule"
],
"sourcehost_host": [
"dev.example.com"
],
"sourcehost_hostgroup": [
"staging"
]
},
"summary": null,
"value": "rule1"
}
}

Some files were not shown because too many files have changed in this diff Show More