summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-07-09 15:51:16 -0400
committerAdam Young <ayoung@redhat.com>2010-07-09 15:51:16 -0400
commit5387f4953274e36a29743ac484cd2f3a8de4af39 (patch)
tree3b92e58f91b365ddfe1c7165420498ae17070439
parent685bc42f344184e4c984a610c945f42188093790 (diff)
downloadfreeipa-5387f4953274e36a29743ac484cd2f3a8de4af39.tar.gz
freeipa-5387f4953274e36a29743ac484cd2f3a8de4af39.tar.xz
freeipa-5387f4953274e36a29743ac484cd2f3a8de4af39.zip
Added sample data for list and show
-rw-r--r--install/static/sampledata/groupshow.json38
-rw-r--r--install/static/sampledata/hostlist.json45
-rw-r--r--install/static/sampledata/hostshow.json56
-rw-r--r--install/static/sampledata/usershow.json69
4 files changed, 208 insertions, 0 deletions
diff --git a/install/static/sampledata/groupshow.json b/install/static/sampledata/groupshow.json
new file mode 100644
index 000000000..b026985f0
--- /dev/null
+++ b/install/static/sampledata/groupshow.json
@@ -0,0 +1,38 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "ipausers"
+ ],
+ "description": [
+ "Default group for all users"
+ ],
+ "dn": "cn=ipausers,cn=groups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "gidnumber": [
+ "1079249048"
+ ],
+ "member": [
+ "uid=gsmile,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "uid=kfrog,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "uid=count123,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com"
+ ],
+ "member_user": [
+ "gsmile",
+ "kfrog",
+ "count123"
+ ],
+ "memberof": [],
+ "objectclass": [
+ "top",
+ "groupofnames",
+ "nestedgroup",
+ "ipausergroup",
+ "posixgroup"
+ ]
+ },
+ "summary": null,
+ "value": "ipausers"
+ }
+}
diff --git a/install/static/sampledata/hostlist.json b/install/static/sampledata/hostlist.json
new file mode 100644
index 000000000..b02e7bd87
--- /dev/null
+++ b/install/static/sampledata/hostlist.json
@@ -0,0 +1,45 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "count": 2,
+ "result": [
+ {
+ "dn": "fqdn=vm-121.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "enrolledby": [],
+ "fqdn": [
+ "vm-121.idm.lab.bos.redhat.com"
+ ],
+ "krbprincipalname": [
+ "host/vm-121.idm.lab.bos.redhat.com@IDM.LAB.BOS.REDHAT.COM"
+ ],
+ "memberof": []
+ },
+ {
+ "description": [
+ "sample host"
+ ],
+ "dn": "fqdn=ayounghost1.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "enrolledby": [],
+ "fqdn": [
+ "ayounghost1.idm.lab.bos.redhat.com"
+ ],
+ "l": [
+ "VM-lab"
+ ],
+ "memberof": [],
+ "nshardwareplatform": [
+ "kvm"
+ ],
+ "nshostlocation": [
+ "VM-lab"
+ ],
+ "nsosversion": [
+ "F13"
+ ]
+ }
+ ],
+ "summary": "2 hosts matched",
+ "truncated": false
+ }
+} \ No newline at end of file
diff --git a/install/static/sampledata/hostshow.json b/install/static/sampledata/hostshow.json
new file mode 100644
index 000000000..f15370b07
--- /dev/null
+++ b/install/static/sampledata/hostshow.json
@@ -0,0 +1,56 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "vm-121.idm.lab.bos.redhat.com"
+ ],
+ "dn": "fqdn=vm-121.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "enrolledby": [],
+ "fqdn": [
+ "vm-121.idm.lab.bos.redhat.com"
+ ],
+ "ipauniqueid": [
+ "b54b73a8-8ba8-11df-80bc-00163e26b89e"
+ ],
+ "krbextradata": [
+ {
+ "__base64__": "AAKOoTdMYWRtaW4vYWRtaW5ASURNLkxBQi5CT1MuUkVESEFULkNPTQA="
+ }
+ ],
+ "krblastpwdchange": [
+ "20100709222414Z"
+ ],
+ "krbpasswordexpiration": [
+ "19700101000000Z"
+ ],
+ "krbprincipalname": [
+ "host/vm-121.idm.lab.bos.redhat.com@IDM.LAB.BOS.REDHAT.COM"
+ ],
+ "krbticketflags": [
+ "0"
+ ],
+ "managedby": [
+ "fqdn=vm-121.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com"
+ ],
+ "memberof": [],
+ "objectclass": [
+ "top",
+ "ipaobject",
+ "nshost",
+ "ipahost",
+ "ipaservice",
+ "pkiuser",
+ "krbprincipalaux",
+ "krbprincipal",
+ "krbticketpolicyaux"
+ ],
+ "serverhostname": [
+ "vm-121"
+ ]
+ },
+ "summary": null,
+ "value": "vm-121.idm.lab.bos.redhat.com"
+ }
+}
diff --git a/install/static/sampledata/usershow.json b/install/static/sampledata/usershow.json
new file mode 100644
index 000000000..02bc72dfb
--- /dev/null
+++ b/install/static/sampledata/usershow.json
@@ -0,0 +1,69 @@
+{
+ "error": null,
+ "id": 0,
+ "result": {
+ "result": {
+ "cn": [
+ "Kermit Frog"
+ ],
+ "dn": "uid=kfrog,cn=users,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
+ "gecos": [
+ "kfrog"
+ ],
+ "gidnumber": [
+ "1079249051"
+ ],
+ "givenname": [
+ "Kermit"
+ ],
+ "homedirectory": [
+ "/home/kfrog"
+ ],
+ "ipauniqueid": [
+ "41bcf085-8baa-11df-8155-00163e26b89e"
+ ],
+ "krbprincipalname": [
+ "kfrog@IDM.LAB.BOS.REDHAT.COM"
+ ],
+ "loginshell": [
+ "/bin/sh"
+ ],
+ "mail": [
+ "kfrog@redhat.com"
+ ],
+ "memberof": [
+ "cn=ipausers,cn=groups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com"
+ ],
+ "memberof_group": [
+ "ipausers"
+ ],
+ "mepmanagedentry": [
+ "cn=kfrog,cn=groups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com"
+ ],
+ "objectclass": [
+ "top",
+ "person",
+ "organizationalperson",
+ "inetorgperson",
+ "inetuser",
+ "posixaccount",
+ "krbprincipalaux",
+ "krbticketpolicyaux",
+ "radiusprofile",
+ "ipaobject",
+ "mepOriginEntry"
+ ],
+ "sn": [
+ "Frog"
+ ],
+ "uid": [
+ "kfrog"
+ ],
+ "uidnumber": [
+ "1079249051"
+ ]
+ },
+ "summary": null,
+ "value": "kfrog"
+ }
+}