<?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 windows API's not working for 'nobrowse' shares in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/windows-API-s-not-working-for-nobrowse-shares/m-p/73417#M939</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;I'm using Microsoft api's for CIFS shares:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt; &lt;SPAN style="color: #a31515; font-family: 'Courier New'; font-size: 15px;"&gt;GetNamedSecurityInfo&lt;/SPAN&gt; - get the share's permissions &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&lt;SPAN style="color: #a31515; font-family: 'Courier New'; font-size: 15px;"&gt;NetShareGetInfo&lt;/SPAN&gt; - &lt;SPAN style="font-size: 16px;"&gt;get the share's&lt;/SPAN&gt; type(indicates if it's an administrative share for example)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;Those functions work fine, &lt;STRONG style="text-decoration: underline;"&gt;except for shares that are configured with the -nobrowse flag&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;for those, i get &lt;SPAN style="line-height: 1.5em;"&gt; &lt;SPAN style="font-family: Calibri, sans-serif;"&gt;hresult 87 -&amp;nbsp; "the parameter is incorrect"&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;If i reconfigure the same share as browsable, the functions work ok. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;It's important to indicate that i call both API's with the&lt;STRONG&gt; full path&lt;/STRONG&gt; of the share , the one that allows access to it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;(I'm using &lt;SPAN style="color: #333333; line-height: 1.5em; background-color: #ffffff;"&gt;OnTap API for getting the nobrowse Shares (&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt; 'cifs-share-list-iter-start' and 'cifs-share-list-iter-next')). &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Are you aware of any solution for this problem?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Is there a known limitation on the server side? should i pass the parameter differently? is there a workaround?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thank you for your help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:31:43 GMT</pubDate>
    <dc:creator>VARONISSYSTEMS</dc:creator>
    <dc:date>2025-06-05T05:31:43Z</dc:date>
    <item>
      <title>windows API's not working for 'nobrowse' shares</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/windows-API-s-not-working-for-nobrowse-shares/m-p/73417#M939</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;I'm using Microsoft api's for CIFS shares:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt; &lt;SPAN style="color: #a31515; font-family: 'Courier New'; font-size: 15px;"&gt;GetNamedSecurityInfo&lt;/SPAN&gt; - get the share's permissions &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&lt;SPAN style="color: #a31515; font-family: 'Courier New'; font-size: 15px;"&gt;NetShareGetInfo&lt;/SPAN&gt; - &lt;SPAN style="font-size: 16px;"&gt;get the share's&lt;/SPAN&gt; type(indicates if it's an administrative share for example)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;Those functions work fine, &lt;STRONG style="text-decoration: underline;"&gt;except for shares that are configured with the -nobrowse flag&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;for those, i get &lt;SPAN style="line-height: 1.5em;"&gt; &lt;SPAN style="font-family: Calibri, sans-serif;"&gt;hresult 87 -&amp;nbsp; "the parameter is incorrect"&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;If i reconfigure the same share as browsable, the functions work ok. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;It's important to indicate that i call both API's with the&lt;STRONG&gt; full path&lt;/STRONG&gt; of the share , the one that allows access to it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;(I'm using &lt;SPAN style="color: #333333; line-height: 1.5em; background-color: #ffffff;"&gt;OnTap API for getting the nobrowse Shares (&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt; 'cifs-share-list-iter-start' and 'cifs-share-list-iter-next')). &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Are you aware of any solution for this problem?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Is there a known limitation on the server side? should i pass the parameter differently? is there a workaround?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thank you for your help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:31:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/windows-API-s-not-working-for-nobrowse-shares/m-p/73417#M939</guid>
      <dc:creator>VARONISSYSTEMS</dc:creator>
      <dc:date>2025-06-05T05:31:43Z</dc:date>
    </item>
  </channel>
</rss>

