On 07/30/2018 02:24 PM, Tim Evans wrote:
On 07/30/2018 01:44 AM, Craig Barratt wrote:
What is the value of $Conf{SmbClientFullCmd} and what is the smb command that is being run (see the XferLOG file)?

$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList';

XferLOG file /raptor/pc-backups//pc/new-pelican/XferLOG.0.z created 2018-07-30 14:11:20 Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx = (FillCycle = 0, noFillCnt = ) Running: /usr/bin/smbclient \\\\new-pelican\\C\$ -U backup -E -d 1 -c tarmode\ full -Tc -
full backup started for share C$
Xfer PIDs are now 31549,31548
tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract: got Full = 1
tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract starting... (XferLogLevel = 1)
XferErr tree connect failed: NT_STATUS_ACCESS_DENIED
XferErr tree connect failed: NT_STATUS_ACCESS_DENIED

The C drive share on the PC is manually accessible:

# smbclient //new-pelican/c -Ubackup%XXXXXXX
Try "help" to get a list of possible commands.
smb: \>

Same password used for the user 'backup.' Can 'get' files here.

Adding the dollar sign (i.e., referencing the default 'c$' share) to the above:

smbclient //new-pelican/c\$ -Ubackup%XXXXXXX
tree connect failed: NT_STATUS_ACCESS_DENIED

OK, I believe I have resolved this. (YMMV).

In Windows 10, sharing "C:" is apparently not the same as sharing "C$". The administrative shares (e.g., "C$) aren't shareable/remotely accessible by default. Registry edit required:

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

Once this key was added, and the PC rebooted, C$ is seen remotely as a share, and BackupPC appears to be happy.
--
Tim Evans                       |5 Chestnut Court
443-394-3864                    |Owings Mills, MD 21117

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to