Skip to main content
A newer release of this product is available.

Protocols CIFS domains svm.uuid endpoint overview

Contributors

Overview

Displays CIFS domain-related information of the specified SVM.

Examples

Retrieving all the fields of CIFS domain configurations of a specific SVM


# The API:
GET /api/protocols/cifs/domains/{svm.uuid}

# The call:
curl -X GET "https://<mgmt-ip>/api/protocols/cifs/domains/6dd78167-c907-11eb-b2bf-0050568e7324" -H "accept: application/json"

# The response:
{
"svm": {
  "uuid": "6dd78167-c907-11eb-b2bf-0050568e7324",
  "name": "vs2"
},
"name_mapping": {
  "trusted_domains": [
    "SERVER03.COM",
    "SERVER04.COM"
  ]
},
"trust_relationships": [
  {
    "node": {
      "name": "vsNode2",
      "uuid": "4d9400f0-c84b-11eb-90ab-0050568e7324"
    },
    "home_domain": "SERVER02.COM",
    "trusted_domains": [
      "SERVER02.COM"
    ]
  }
],
"discovered_servers": [
  {
    "node": {
      "name": "vsNode2",
      "uuid": "4d9400f0-c84b-11eb-90ab-0050568e7324"
    },
    "domain": "server02.com",
    "server_type": "kerberos",
    "server_name": "scspb0659002001",
    "server_ip": "192.168.20.1",
    "preference": "preferred",
    "state": "undetermined"
  },
  {
    "node": {
      "name": "vsNode2",
      "uuid": "4d9400f0-c84b-11eb-90ab-0050568e7324"
    },
    "domain": "server02.com",
    "server_type": "ms_ldap",
    "server_name": "scspb0659002001",
    "server_ip": "192.168.20.1",
    "preference": "preferred",
    "state": "undetermined"
  },
  {
    "node": {
      "name": "vsNode2",
      "uuid": "4d9400f0-c84b-11eb-90ab-0050568e7324"
    },
    "domain": "server02.com",
    "server_type": "ms_dc",
    "server_name": "scspb0659002001",
    "server_ip": "192.168.20.1",
    "preference": "preferred",
    "state": "undetermined"
  }
],
"preferred_dcs": [
  {
    "fqdn": "server02.com",
    "server_ip": "192.168.20.1"
  }
],
"password_schedule": {
  "schedule_enabled": false,
  "schedule_weekly_interval": 4,
  "schedule_randomized_minute": 120,
  "schedule_description": "Tue@1:00"
}
}

Applying rediscover_trusts query parameter and retrieving all the fields of CIFS domain configurations


# The API:
GET /api/protocols/cifs/domains/{svm.uuid}?rediscover_trusts=true

# The call:
curl -X GET "https://<mgmt-ip>/api/protocols/cifs/domains/6dd78167-c907-11eb-b2bf-0050568e7324?rediscover_trusts=true" -H "accept: application/json"

# The response:
{
"svm": {
  "uuid": "6dd78167-c907-11eb-b2bf-0050568e7324",
  "name": "vs2"
},
"name_mapping": {
  "trusted_domains": [
    "SERVER03.COM",
    "SERVER04.COM"
  ]
},
"trust_relationships": [
  {
    "node": {
      "name": "vsNode1",
      "uuid": "a64c0906-c7dd-11eb-af15-0050568e403e"
    },
    "home_domain": "SERVER02.COM",
    "trusted_domains": [
      "SERVER02.COM"
    ]
  },
  {
    "node": {
      "name": "vsNode2",
      "uuid": "4d9400f0-c84b-11eb-90ab-0050568e7324"
    },
    "home_domain": "SERVER02.COM",
    "trusted_domains": [
      "SERVER02.COM"
    ]
  }
],
"discovered_servers": [
  {
    "node": {
      "name": "vsNode2",
      "uuid": "4d9400f0-c84b-11eb-90ab-0050568e7324"
    },
    "domain": "server02.com",
    "server_type": "kerberos",
    "server_name": "scspb0659002001",
    "server_ip": "192.168.20.1",
    "preference": "preferred",
    "state": "undetermined"
  },
  {
    "node": {
      "name": "vsNode2",
      "uuid": "4d9400f0-c84b-11eb-90ab-0050568e7324"
    },
    "domain": "server02.com",
    "server_type": "ms_ldap",
    "server_name": "scspb0659002001",
    "server_ip": "192.168.20.1",
    "preference": "preferred",
    "state": "undetermined"
  },
  {
    "node": {
      "name": "vsNode2",
      "uuid": "4d9400f0-c84b-11eb-90ab-0050568e7324"
    },
    "domain": "server02.com",
    "server_type": "ms_dc",
    "server_name": "scspb0659002001",
    "server_ip": "192.168.20.1",
    "preference": "preferred",
    "state": "undetermined"
  }
],
"preferred_dcs": [
  {
    "fqdn": "server02.com",
    "server_ip": "192.168.20.1"
  }
],
"password_schedule": {
  "schedule_enabled": false,
  "schedule_weekly_interval": 4,
  "schedule_randomized_minute": 120,
  "schedule_description": "Tue@1:00"
}
}