BackupPC-users

Re: [BackupPC-users] Fedora 9 and BackupPC]

2008-05-21 17:43:14
Subject: Re: [BackupPC-users] Fedora 9 and BackupPC]
From: Deja3 <deja3-user AT bitrealm DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 21 May 2008 14:42:58 -0700
Ok, I have fixed this problem.  It seems that Fedora 9 ships with  
samba version 3.2.0-1.pre3.9, which does not work (for whatever  
reason) with BackupPC.  The fix is to download the latest STABLE  
source of samba (3.0.28a) and compile it yourself and then do a "make  
install" to replace the 3.2.0-1.pre3.9 binaries with the ones from  
stable.

In order to do so cleanly, you need the right arguments to pass to  
configure in order to lay all the binaries down in the right place.   
So, here's the compile-time options that Fedora uses to build samba so  
that you'll be all set:

   ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu \
         --target=i386-redhat-linux-gnu \
         --program-prefix= \
         --prefix=/usr \
         --exec-prefix=/usr \
         --bindir=/usr/bin \
         --sbindir=/usr/sbin \
         --sysconfdir=/etc \
         --datadir=/usr/share \
         --includedir=/usr/include \
         --libdir=/usr/lib \
         --libexecdir=/usr/libexec \
         --localstatedir=/var \
         --sharedstatedir=/usr/com \
         --mandir=/usr/share/man \
         --infodir=/usr/share/info \
         --with-dnsupdate \
         --with-acl-support \
         --with-automount \
         --with-libsmbclient \
         --with-mmap \
         --with-pam \
         --with-pam_smbpass \
         --with-quotas \
         --with-syslog \
         --with-utmp \
         --with-vfs \
         --without-smbwrapper \
         --with-lockdir=/var/lib/samba \
         --with-piddir=/var/run \
         --with-mandir=/usr/share/man \
         --with-privatedir=/var/lib/samba/private \
         --with-logfilebase=/var/log/samba \
         --with-libdir=/usr/lib/samba \
         --with-configdir=/etc/samba \
         --with-pammodulesdir=lib/security \
         --with-swatdir=/usr/share/swat \
         --with-shared-modules=idmap_ad,idmap_rid


make
sudo make install

I tried a clean version of Fedora 9 and got the same result.  It seems  
that there is some incompatability with BackupPC 3.1.0/perl  
5.10.0/samba 3.2.0.



>
> Fedora 9 moved to perl 5.10.0. After doing the upgrade to Fedora 9
> from Fedora 8, I can no longer get any backups to run with BackupPC
> for the computers I back up. All computers report the same error now:
> backup failed (tree connect failed: NT_STATUS_ACCESS_DENIED)
>
> Relevant information:
>
> $Conf{XferMethod} = 'smb';
> $Conf{SmbShareName} = 'c$';
> $Conf{SmbShareUserName} = 'Administrator';
> $Conf{SmbSharePasswd} = 'admin-password-here';
> $Conf{SmbClientPath} = '/usr/bin/smbclient';
>
> I have verified that I can log in from the Linux box doing:
>
> /usr/bin/smbclient \\\\computer\\c\$ -U root admin-password-here
>
> and I can browse the file structure and copy files no problem.
>
> I re-installed BackupPC 3.1.0 and it didn't change the behaviour, I
> can't get backups to run.
>
> Here's the error log file (log level 1). I don't understand why it is
> saying "Anonymous login successful" when I clearly have a user and
> password specified in the config.pl file.
>
>
>
> Running: /usr/bin/smbclient \\\\computer\\c\$ -U administrator -E -N
> -d 1 -c tarmode\ full -TcN
> /backupdir/BackupPC/pc/computer/timeStamp.level0 -
> incr backup started back to 2008-04-27 00:46:34 (backup #204) for share c$
> Xfer PIDs are now 17328,17327
> Getting files newer than Sun Apr 27 00:46:34 2008
> Anonymous login successful
> Domain=[NW] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> tree connect failed: NT_STATUS_ACCESS_DENIED
> Anonymous login successful
> Domain=[NW] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> tree connect failed: NT_STATUS_ACCESS_DENIED
> tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0
> sizeExistComp, 0 filesTotal, 0 sizeTotal
> Got fatal error during xfer (tree connect failed: NT_STATUS_ACCESS_DENIED)
> Backup aborted (tree connect failed: NT_STATUS_ACCESS_DENIED)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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>