BackupPC-users

Re: [BackupPC-users] no files dumped for share c$

2009-01-07 01:15:16
Subject: Re: [BackupPC-users] no files dumped for share c$
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: Gilles Guiot <gilles.guiot AT saros DOT fr>
Date: Tue, 6 Jan 2009 22:13:13 -0800
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 DOT net <backuppc-users AT 
lists.sourceforge DOT net>
From: davidekahn <backuppc-forum AT backupcentral DOT 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 DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT 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 DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>