freeipa/install/static/test/data/host_find.json
Endi S. Dewata 3e1dc6b74f Host Enrollment via OTP
The support for host enrollment via one-time-password has been added.
When submitted, the OTP will be used to set the host's userpassword.

Previously each IPA command can only have one JSON test data file.
The ipa_cmd() has been modifies to accept an optional command name.
When used with static files, it will pull the test data whose name
is the same as the command name.

The batch.json has been renamed to ipa_init.json for UI initialization.
Some test data have been added for operations against specific hosts.
2010-11-19 13:26:41 -05:00

92 lines
2.8 KiB
JSON

{
"error": null,
"id": 0,
"result": {
"count": 2,
"result": [
{
"cn": [
"dev.example.com"
],
"dn": "fqdn=dev.example.com,cn=computers,cn=accounts,dc=dev,dc=example,dc=com",
"fqdn": [
"dev.example.com"
],
"ipauniqueid": [
"fc6a6d5a-f388-11df-9c01-00163e72f2d9"
],
"krbextradata": [
{
"__base64__": "AAL+5+VMYWRtaW4vYWRtaW5AREVWLkVYQU1QTEUuQ09NAA=="
},
{
"__base64__": "AAgBAA=="
}
],
"krblastpwdchange": [
"20101119025910Z"
],
"krbpasswordexpiration": [
"19700101000000Z"
],
"krbprincipalname": [
"host/dev.example.com@DEV.EXAMPLE.COM"
],
"krbticketflags": [
"0"
],
"managedby": [
"fqdn=dev.example.com,cn=computers,cn=accounts,dc=dev,dc=example,dc=com"
],
"objectclass": [
"top",
"ipaobject",
"nshost",
"ipahost",
"ipaservice",
"pkiuser",
"krbprincipalaux",
"krbprincipal",
"krbticketpolicyaux"
],
"serverhostname": [
"dev"
]
},
{
"cn": [
"test.example.com"
],
"dn": "fqdn=test.example.com,cn=computers,cn=accounts,dc=dev,dc=example,dc=com",
"fqdn": [
"test.example.com"
],
"ipauniqueid": [
"ac28dca0-f3b5-11df-879f-00163e72f2d9"
],
"krbprincipalname": [
"host/test.example.com@DEV.EXAMPLE.COM"
],
"managedby": [
"fqdn=test.example.com,cn=computers,cn=accounts,dc=dev,dc=example,dc=com"
],
"objectclass": [
"ipaobject",
"nshost",
"ipahost",
"pkiuser",
"ipaservice",
"krbprincipalaux",
"krbprincipal",
"top"
],
"serverhostname": [
"test"
]
}
],
"summary": "2 hosts matched",
"truncated": false
}
}