mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-30 10:47:08 -06:00
ae19cce7ad
This patch adds Web UI for trusts. Navigation path is IPA Server/Trust. It allows to add, deleted and show trust. Mod command doesn't have defined input options so update of a trust is not supported yet. Adder dialog supports two ways if adding a trust: 1) adding with domain name, admin name and admin password. 2) adding with domain name, shared secret Search page shows only list of realm names which are trusts' cns. Details page is read only. It contains following attributes: * Realm name (cn) * Domain NetBIOS name (ipantflatname) * Domain Security Identifier (ipanttrusteddomainsid) * Trust direction (trustdirection) * Trust type (trusttype) trust_output_params also defines 'Trust status' param. This param is not return by show command as well so it's commented out in code until it's fixed in plugin code. Fields in details pages are using labels defined in internal.py. It is temporary solution until including of command.has_output_params will be added to metadata. https://fedorahosted.org/freeipa/ticket/2829
67 lines
2.0 KiB
JSON
67 lines
2.0 KiB
JSON
{
|
|
"error": null,
|
|
"id": null,
|
|
"result": {
|
|
"result": {
|
|
"attributelevelrights": {
|
|
"aci": "rscwo",
|
|
"cn": "rscwo",
|
|
"ipantflatname": "rscwo",
|
|
"ipantsupportedencryptiontypes": "rscwo",
|
|
"ipanttrustattributes": "rscwo",
|
|
"ipanttrustauthincoming": "rscwo",
|
|
"ipanttrustauthoutgoing": "rscwo",
|
|
"ipanttrustdirection": "rscwo",
|
|
"ipanttrusteddomainsid": "rscwo",
|
|
"ipanttrustforesttrustinfo": "rscwo",
|
|
"ipanttrustpartner": "rscwo",
|
|
"ipanttrustposixoffset": "rscwo",
|
|
"ipanttrusttype": "rscwo",
|
|
"nsaccountlock": "rscwo"
|
|
},
|
|
"cn": [
|
|
"ad.test"
|
|
],
|
|
"dn": "cn=ad.test,cn=ad,cn=trusts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
|
|
"ipantflatname": [
|
|
"AD"
|
|
],
|
|
"ipanttrustattributes": [
|
|
"136"
|
|
],
|
|
"ipanttrustauthincoming": [
|
|
{
|
|
"__base64__": "AQAAAAwAAAAwAAAAgKOs1XFQzQECAAAAEgAAAGEAYQBhAEEAQQBBADEAMQAxAAAA"
|
|
}
|
|
],
|
|
"ipanttrustauthoutgoing": [
|
|
{
|
|
"__base64__": "AQAAAAwAAAAwAAAAgKOs1XFQzQECAAAAEgAAAGEAYQBhAEEAQQBBADEAMQAxAAAA"
|
|
}
|
|
],
|
|
"ipanttrustdirection": [
|
|
"3"
|
|
],
|
|
"ipanttrusteddomainsid": [
|
|
"S-1-5-21-2085708479-1865276630-1146473440"
|
|
],
|
|
"ipanttrustpartner": [
|
|
"ad.test"
|
|
],
|
|
"ipanttrusttype": [
|
|
"2"
|
|
],
|
|
"objectclass": [
|
|
"ipaNTTrustedDomain"
|
|
],
|
|
"trustdirection": [
|
|
"Two-way trust"
|
|
],
|
|
"trusttype": [
|
|
"Active Directory domain"
|
|
]
|
|
},
|
|
"summary": null,
|
|
"value": "ad.test"
|
|
}
|
|
} |