patrix55

updated

14 years ago

P

patrix55

13 Posts

0

4335

January 23rd, 2013 18:00

Sharedup error: Error=0x00000005: NetShareEnum:Access is denied

Hi Folks,

I'm having a problem with sharedup.  I am trying to copy several hundred shares from a celerra to vnxe platform.  When I run sharedup I get the following error: Error=0x00000005: NetShareEnum:Access is denied.  Here is my command: sharedup.exe \\celerra-file-server \\vnxe-fileserver ALL /SD.

I suspect this is a problem with the celerra because if I use a different source file server i.e. a file server from a vnx or vnxe system the command works without error.  All file servers are connected to the same AD domain, using the same AD account when running the sharedup command.

Does anyone have any suggestions?  Let me know if you need further info...

Thanks!

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    2647

    0

    Posted January 24th, 2013 06:00

    there you go, somebody might need to add your account to local admin group or run sharedup with another account that has admin rights on that CIFS server.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    2647

    0

    Posted January 23rd, 2013 18:00

    do you have admin rights on the source ?

  • patrix55

    13 Posts

    2647

    0

    Posted January 23rd, 2013 21:00

    The AD account that I am using to execute sharedup belongs to both domain admins and the administrators group.  I tried to replicate the problem against a source vnx, and vnxe where the command worked by removing admin rights, and it still worked.  The AD account that I am using can see the shares (but cannot access the shares) on the celerra via UNC path.  Sharedup should be able to read the shares using the same account credentials?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    2647

    0

    Posted January 24th, 2013 04:00

    does it work if you omit /SD ?

  • patrix55

    13 Posts

    2647

    0

    Posted January 24th, 2013 05:00

    Same problem, please see below:

    SHAREDUP 02.04

    Copyright (C) 2008-2010, All Rights Reserved,
    by EMC Corporation, Hopkinton MA.

    Source server:172.20.67.146        5.0 EMC-SNAS:T6.0.41.3
    Target server:172.20.67.148       5.0 EMC-SNAS:T6.0.43.0

    Error=0x00000005: NetShareEnum:Access is denied.

    *****************************************************************************

    SHAREDUP source:172.20.67.146             target:172.20.67.148

    Summary results:
    No share found on server 172.20.67.146.


    *****************************************************************************

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    2647

    0

    Posted January 24th, 2013 06:00

    So this account that you are using to run sharedup, while logged-in with this account you can use computer management MMC, connect to the CIFS server and browse CIFS shares, look at share permissions etc ?

  • patrix55

    13 Posts

    2647

    0

    Posted January 24th, 2013 06:00

    Actually no, I just tried this and for the celerra and when I try to browse the shares I get the following error: "you do not have permissions to see the list of shares for windows users".

  • bergec

    275 Posts

    2647

    0

    Posted January 24th, 2013 06:00

    Is there an explicit “deny” permission on the shares?

    Claude

  • patrix55

    13 Posts

    2647

    0

    Posted January 24th, 2013 07:00

    Yes, adding my account to the local admin group worked.  Thank you for your help!

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    359

    0

    Posted January 24th, 2013 09:00

    Thats your problem then – you dont have permission to browse the shares