From: Craig B. <cba...@us...> - 2004-02-26 07:22:10
|
Syed Imran writes: > This is what I've done. > > __TOPDIR__ == /backuppc > > so, I've got the main config file as /backuppc/conf/config.pl and hosts > in /backuppc/conf/hosts (this file currently has only 1 host specified > as dhcp -> marks-desktop) > > /backuppc/pc/marks-desktop/config.pl contains the following:: > do "/backuppc/conf/config.pl > $Conf{SmbShareName} = 'TestBackup'; > #completion of marks-desktop config file As you noted in your following email, you were missing a ';'. But, more importantly, there is no need to include the main config.pl. So all you need is a one-liner: $Conf{SmbShareName} = 'TestBackup'; > When I connect to the cgi interface, it says that it can successfully > ping marks-desktop (from marks-desktop home page). But when I click for > a perform Full Backup Now, it says in the error log that It was unable > to backup C$ share on marks-desktop! the contents of Xfer-log for > marks-desktop:: > Running: /usr/bin/smbclient \\\\marks-desktop\\C\$ -I 172.16.102.169 -U > -E -N -d 1 -c tarmode\ full -Tc - > Xfer PIDs are now 4640,4639 > Domain=[TECHNOLOGY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] > tree connect failed: NT_STATUS_ACCESS_DENIED > tarExtract: Unexpected end of tar archive (tot = 512, num = , posn = ) > tarExtract: Done: 1 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal > > I see 10 problems here: > (0) somehow the share name has not been over-ridden (its specified in > config.pl for marks-desktop) See above. > (1) whats the tree connect failed thingy? I can connect to the machine > and browse the shares there. I actually have Full permissions on the > TestBackup folder on marks-desktop! And you've discovered you don't have any permission (NT_STATUS_ACCESS_DENIED) for the share C$. Craig |