<?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: Access denied on CIFS shares in Ask The Experts</title>
    <link>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154979#M1380</link>
    <description>&lt;P&gt;ok. I don't see SPNs in your output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so can you try few things here:&lt;/P&gt;
&lt;P&gt;1) Use \\IP\share : Using the IP address, will skip kerberos and fall back on NTML authentication is used. Are you able to access the shares?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) As you mentioned, old cifs and new cifs server name is 'same',&amp;nbsp; so I suggest set the SPN:&lt;/P&gt;
&lt;P&gt;Have a user, who is a member of Domain Admins, run the following from a command prompt:&lt;BR /&gt;Set SPN for vsdata1:&lt;BR /&gt;C:\&amp;gt;setspn.exe -S HOST/FILER01 &lt;BR /&gt;C:\&amp;gt;setspn.exe -S HOST/FILER01.kitc.org&lt;BR /&gt;C:\&amp;gt;setspn.exe -S cifs/FILER01&lt;BR /&gt;C:\&amp;gt;setspn.exe -S cifs/FILER01.kitc.org&lt;/P&gt;
&lt;P&gt;C:\&amp;gt;setspn -L FILER01 &amp;lt;now you should see all the SPNs attached&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try accessing.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2020 19:33:15 GMT</pubDate>
    <dc:creator>Ontapforrum</dc:creator>
    <dc:date>2020-03-17T19:33:15Z</dc:date>
    <item>
      <title>Access denied on CIFS shares</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154946#M1374</link>
      <description>Hello Team,

I have a NetApp system running 7-mode which we stopped using for a while. I need to access some CIFS data on the storage. The DC that was in use has been decommissioned, currently using a new one. I used 'cifs setup' to configure the new DC but was having permission issues when I tried to access the files.  Using 'cifs setup' i configured WORKGROUP and created a user with all access on the filer, some folders can be accessed (even though you can't copy the files) whiles some folders give  'access denied'. Kindly assist on the workaround for this issue, I need those files urgently.  

Regards.</description>
      <pubDate>Mon, 16 Mar 2020 09:55:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154946#M1374</guid>
      <dc:creator>Ebo_Hagan</dc:creator>
      <dc:date>2020-03-16T09:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Access denied on CIFS shares</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154948#M1375</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you tell us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Older CIFS server name:?&lt;BR /&gt;New CIFS server name:?&lt;/P&gt;
&lt;P&gt;Also the current SPN?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your windows pc on the same network as your DC &amp;amp; storage/ or from a dc:&lt;BR /&gt;c:/&amp;gt;setpm -L new_cifs_server_name [what is the output]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As it was connected to DC, it must be using 'kerberos' for authentication.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 11:20:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154948#M1375</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2020-03-16T11:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Access denied on CIFS shares</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154978#M1379</link>
      <description>The cifs server name hasn't changed, is FILER01.

C:\&amp;gt;setspn -L FILER01
Registered ServicePrincipalNames for CN=FILER01,OU=OU_COMPUTERS,OU=OU_KITC,DC=kitc,DC=org:

Kindly advice.</description>
      <pubDate>Tue, 17 Mar 2020 16:40:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154978#M1379</guid>
      <dc:creator>Ebo_Hagan</dc:creator>
      <dc:date>2020-03-17T16:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Access denied on CIFS shares</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154979#M1380</link>
      <description>&lt;P&gt;ok. I don't see SPNs in your output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so can you try few things here:&lt;/P&gt;
&lt;P&gt;1) Use \\IP\share : Using the IP address, will skip kerberos and fall back on NTML authentication is used. Are you able to access the shares?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) As you mentioned, old cifs and new cifs server name is 'same',&amp;nbsp; so I suggest set the SPN:&lt;/P&gt;
&lt;P&gt;Have a user, who is a member of Domain Admins, run the following from a command prompt:&lt;BR /&gt;Set SPN for vsdata1:&lt;BR /&gt;C:\&amp;gt;setspn.exe -S HOST/FILER01 &lt;BR /&gt;C:\&amp;gt;setspn.exe -S HOST/FILER01.kitc.org&lt;BR /&gt;C:\&amp;gt;setspn.exe -S cifs/FILER01&lt;BR /&gt;C:\&amp;gt;setspn.exe -S cifs/FILER01.kitc.org&lt;/P&gt;
&lt;P&gt;C:\&amp;gt;setspn -L FILER01 &amp;lt;now you should see all the SPNs attached&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try accessing.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 19:33:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154979#M1380</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2020-03-17T19:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Access denied on CIFS shares</title>
      <link>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154980#M1381</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that the easiest and most supported&amp;nbsp; way to guarantee access and copy off the files is to have a domain or local user a member of the "administrators" and&amp;nbsp;"Backup Operators" groups - verify with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;#for local user
useradmin user list -g Administrators
useradmin user list -g "Backup Operators"

#for domain user (and use "cifs lookup SID" for any SID's you see)
useradmin domainuser list -g Administrators
useradmin domainuser list -g "Backup Operators"&lt;/LI-CODE&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;P&gt;And to have that the same user /group with full_control on the share level - verify with command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;cifs shares&lt;/LI-CODE&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;P&gt;Once you have set this. Open a CMD as admin on any windows device, using the below "net use" commands map the source (with the above user) and destination as drives within the same CMD window. And copy the files of using robocopy with the /B option (see my favourite&amp;nbsp; flags below, but do check it applies to your needs before using it)&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;net use s: \\src_filer\c$ /USER:filer_or_domain\username
net use t: \\dst_filer\c$ /USER:filer_or_domain\username

robocopy "s:\share\folder" "t:\share\folder" /COPY:DAT /MIR /r:2 /w:1 /b /XJ /MT:8 /log+:"c:\temp\robocopylog.txt"

# Gidi's favourite robocopy flags:
/COPY:DAT, D=Data, A=Attributes, T=Timestamps (not including security and audit ACL/DACLs).
/MIR, MIRror a directory tree.
/R, number of Retries on failed copies (low to avoid long waits).
/W, Wait time between retries (low to avoid long waits).
/B to use backup operator priv for read
/XJ eXclude Junction points and symbolic links
/MT Multitrhead - i usually put twice as the amount of cores the system has. 
/log+, output status to LOG file (append to existing log).&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, that's the easiest and most supported way to do it. there some others dirty ways like manipulating user mappings so it ignores NTFS ACLs (i don't have simulator at hand to easily confirm the commands) , reset ownerships and then ACLs (takes time, require multiple runs and sometimes fails), or make the filer applying new set of ACL on the path (takes long time).&lt;/P&gt;
&lt;P&gt;If you do need more help or to explore the above options - give a shout and I'll try to share more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 20:17:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Ask-The-Experts/Access-denied-on-CIFS-shares/m-p/154980#M1381</guid>
      <dc:creator>GidonMarcus</dc:creator>
      <dc:date>2020-03-17T20:17:13Z</dc:date>
    </item>
  </channel>
</rss>

