PPA generate migration list feature fails: "Failed to connect to samba share C$"

Created:

2016-11-16 13:03:59 UTC

Modified:

2017-08-16 16:44:40 UTC

0

Was this article helpful?


Have more questions?

Submit a request

PPA generate migration list feature fails: "Failed to connect to samba share C$"

Applicable to:

  • Plesk 9.x for Linux

Symptoms

  1. When I try to generate migration list the following error appears:

    # ppa-transfer generate-migration-list config.ini
    [ERROR] | Error while checking connection settings: 'Failed to connect to samba share C$ on server 'pfu1': Failed to execute command, non-zero exit code. See debug log for details'.
  2. I am using not an "Administrator" account for the migration:

    # grep windows-username config.ini
    windows-username: sysadmin
  3. If I try to connect manually, the following error is shown:

    # /bin/sh -c "smbclient //10.39.28.29/'C$' -U sysadmin mypassword"
    Domain=[JOHN-JNH02NEMVH] OS=[Windows Web Server 2008 R2 7601 Service Pack 1] Server=[Windows Web Server 2008 R2 6.1]
    tree connect failed: NT_STATUS_ACCESS_DENIED

Cause

Microsoft Windows UAC sets some limitations for users which are in 'Administrators' group but not built-in 'Administrator'.

Resolution

Use "Administrator" account for the migration or apply this Microsoft KB 951016

Have more questions? Submit a request
Please sign in to leave a comment.