<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PATCH /protocols/cifs/services/{svm.uuid} not working in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/PATCH-protocols-cifs-services-svm-uuid-not-working/m-p/448874#M611</link>
    <description>&lt;P&gt;Hi, can you do a get on /api/svm/svms/{uuid} with the svm uuid you passed in to the /api/protocols/cifs/services endpoint? The error you are getting shows that there is no svm with that uuid. So, doing a get on /svm/svms/{uuid} will confirm whether or not that svm exists.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 16:45:39 GMT</pubDate>
    <dc:creator>Twesha</dc:creator>
    <dc:date>2023-11-15T16:45:39Z</dc:date>
    <item>
      <title>PATCH /protocols/cifs/services/{svm.uuid} not working</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/PATCH-protocols-cifs-services-svm-uuid-not-working/m-p/448275#M599</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i´m runnon on NetApp Release 9.13.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my cifs server is in workgoup mode and down:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cifs show -vserver fcivsbc0036020

Vserver: fcivsbc0036020
CIFS Server NetBIOS Name: FCIVSBC0036020
NetBIOS Domain/Workgroup Name: BLUBB
Fully Qualified Domain Name: -
Organizational Unit: -
Default Site Used by LIFs Without Site Membership: -
Workgroup Name: BLUBB
Authentication Style: workgroup
CIFS Server Administrative Status: down
CIFS Server Description:
List of NetBIOS Aliases: -&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if i want to join to domain (if computer account exist in AD, you need to do cifs modify - so PATCH)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X PATCH "https://&amp;lt;ip&amp;gt;/api/protocols/cifs/services/5806fc7e-5932-11ee-a25a-d039ea3cdef6?return_timeout=120" -H "accept: application/json" -H "authorization: Basic xxx" -H "Content-Type: application/json" -d "{\"ad_domain\":{\"user\":\"Administrator\",\"password\":\"xxx\",\"organizational_unit\":\"CN=Computers,DC=tn01,DC=local\",\"fqdn\":\"TN01.local\"},\"name\":\"FCIVSBC0036020\"}"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the body in bette readable way:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  'ad_domain' =&amp;gt; {
                   'fqdn' =&amp;gt; 'TN01.local',
                   'organizational_unit' =&amp;gt; 'CN=Computers,DC=tn01,DC=local',
                   'password' =&amp;gt; 'xxx',
                   'user' =&amp;gt; 'Administrator'
                 },
  'name' =&amp;gt; 'FCIVSBC0036020'
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i´m getting immediately this error: (usually cifs modify/create takes some seconds)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "error": {
    "message": "entry doesn't exist",
    "code": "4",
    "target": "svm.uuid"
  },
  "job": {
    "uuid": "9739bf9d-6e5c-11ee-a25a-d039ea3cdef6",
    "_links": {
      "self": {
        "href": "/api/cluster/jobs/9739bf9d-6e5c-11ee-a25a-d039ea3cdef6"
      }
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what am i doing wrong? can someone help?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 09:14:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/PATCH-protocols-cifs-services-svm-uuid-not-working/m-p/448275#M599</guid>
      <dc:creator>chris_tsys</dc:creator>
      <dc:date>2023-10-19T09:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: PATCH /protocols/cifs/services/{svm.uuid} not working</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/PATCH-protocols-cifs-services-svm-uuid-not-working/m-p/448874#M611</link>
      <description>&lt;P&gt;Hi, can you do a get on /api/svm/svms/{uuid} with the svm uuid you passed in to the /api/protocols/cifs/services endpoint? The error you are getting shows that there is no svm with that uuid. So, doing a get on /svm/svms/{uuid} will confirm whether or not that svm exists.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 16:45:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/PATCH-protocols-cifs-services-svm-uuid-not-working/m-p/448874#M611</guid>
      <dc:creator>Twesha</dc:creator>
      <dc:date>2023-11-15T16:45:39Z</dc:date>
    </item>
  </channel>
</rss>

