SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
no files dumped for share c$
Author Message
Post no files dumped for share c$ 
Hello everybody ! And happy new year Smile

I got the following problem :

A backup server on Debian 2.6.26-1-686 (résultat d'une commande uname
-a). After the vulnerability on ssh for debian, all the backups failed,
on both debian clients and Windows clients.
After renewing ssh keys and exchanging them, the backups are working
again for the linux clients, but not for the windows machines.
The first one is a windows machine with sp4.
The message i get is always the same :
no files dumped for share c$
session resquest to .. failed (called name not present)
tree connect failed: NT_STATUS_ACCESS_DENIED

But the config for these hosts had not changed. When i tried to do a
manual dump, here is what it gave me :

/backuppc < at > backup:/usr/share/backuppc/bin$ ./BackupPC_dump -v -f
192.168.0.100
cmdSystemOrEval: about to system /bin/echo -c 1 192.168.0.100
cmdSystemOrEval: finished: got output -c 1 192.168.0.100

cmdSystemOrEval: about to system /bin/echo -c 1 192.168.0.100
cmdSystemOrEval: finished: got output -c 1 192.168.0.100

CheckHostAlive: can't extract round-trip time (not fatal)
CheckHostAlive: returning 0
Running: /usr/bin/smbclient \\\\192.168.0.100\\C\$ -U
BLACKUP\\Administrateur\\
-E -N -d 1 -c tarmode\ full -Tc -
full backup started for share C$
started full dump, share=C$
Xfer PIDs are now 24737,24736
xferPids 24737,24736
cmdExecOrEval: about to exec /usr/bin/smbclient \\\\192.168.0.100\\C\$
-U
BLACKU
P\\Administrateur\\ -E -N -d 1 -c tarmode\ full -Tc -
session request to 192.168.0.100 failed (Called name not present)
session request to 192 failed (Called name not present)
Anonymous login successful
Domain=[] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
session request to 192.168.0.100 failed (Called name not present)
session request to 192 failed (Called name not present)
Anonymous login successful
Domain=[] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp,
0
filesT
otal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share C$)
cmdSystemOrEval: about to system /bin/echo -c 1 192.168.0.100
cmdSystemOrEval: finished: got output -c 1 192.168.0.100

cmdSystemOrEval: about to system /bin/echo -c 1 192.168.0.100
cmdSystemOrEval: finished: got output -c 1 192.168.0.100

CheckHostAlive: can't extract round-trip time (not fatal)
CheckHostAlive: returning 0
Backup aborted (No files dumped for share C$)
Not saving this as a partial backup since it has fewer files than the
prior
one
(got 0 and 0 files versus 0)
dump failed: No files dumped for share C$/

I checked in the config.pl , and the $Conf{SmbShareName} do correspond
to the id and password used by the admin account on this windows machine.
I checked in the topdir/pc/hostname too, but couldn't find any specific
config file for this host...
So I'm at a loss. Is there somebody who could give me some tips/solutions ?

Thansk a lot in advance.




--
Gilles Guiot
Responsable exploitation informatique
Tél. : 01 53 23 02 20
gilles.guiot < at > saros.fr


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post no files dumped for share c$ 
Gilles writes:

tree connect failed: NT_STATUS_ACCESS_DENIED

David Kahn reports that this happens with recent versions
of smbclient. Removing the -N option fixes it.

Can you confirm this fix works for you?

Craig

---------- Forwarded message ----------
To: backuppc-users < at > lists.sourceforge.net <backuppc-users < at > lists.sourceforge.net>
From: davidekahn <backuppc-forum < at > backupcentral.com>
Date: Thu, 13 Nov 2008 15:37:00 -0800
Subj: [BackupPC-users] tree connect failed: NT_STATUS_ACCESS_DENIED


It appears that that have changed the way smbclient works with version 3.2.3, and it is causing this problem. A problem identical to yours was reported as being a bug in Ubuntred 8.10 (Intrepid): https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/283652. However, the actual source of the problem is smbclient, which is called by backuppc. Therefore, I reported a second bug: https://bugs.launchpad.net/bugs/297025 that will hopefully fix the problem.

The solution to your backup problem is to edit /etc/backuppc/config.pl on server #2, which is using backuppc version 3.1.0 and smbclient 3.2.3. Do not make this modification to server #1, as it will break it.

There are three strings that you need to modify in config.pl:

$Conf{SmbClientFullCmd}
$Conf{SmbClientIncrCmd}
$Conf{SmbClientRestoreCmd}

which control Samba backups and restore. In all three strings remove the "-N" flag.

My understanding that the flag is no longer needed, because the login prompt is automatically suppressed by smbclient when backuppc passes the password through the PASSWD environment variable. But for some unfathomable reason, when the "-N" flag is used, the password does not get passed to Windows' LAN Manager.

Good luck.

+----------------------------------------------------------------------
|This was sent by david.kahn < at > certiby.com via Backup Central.
|Forward SPAM to abuse < at > backupcentral.com.
+----------------------------------------------------------------------

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB