BackupPC-users

Re: [BackupPC-users] Auth failed on module cDrive

2011-03-30 16:15:40
Subject: Re: [BackupPC-users] Auth failed on module cDrive
From: "Tom Brown" <tbrown AT riverbendhose DOT com>
To: "'General list for user discussion, questions and support'" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 30 Mar 2011 16:13:44 -0400
It appears I've solved the problem. 

I am surprised it took this long for someone to respond to my inquiry (thank
you Fresel Michal). But, the problem may be unique to this particular
software stack: W7, Symantec Endpoint, BackupPC 2.1.2 and Cygwin rsync
2.6.8_0. 

Here?s what I?ve found so far. 

1. Rsync Password

If the rsync password is set in the rsync section of the "General per-PC
configuration settings" section of /conf/config.pl, it is NOT overridden by
the individual PC config.pl files, and authentication fails for module
cDrive.

The global rsync password IS the password on each PC with version 2.1.2 of
Backuppc in spite of per PC config files. 

I tried commenting out $Conf{RsyncPasswd} in the "General per-PC
configuration settings" section of /conf/config.pl to allow password control
by the unique PC config.pl files, but nothing changed.

If I?ve missed something about handling global and per PC passwords in
/conf/config.pl and /pc/pc_name/config.pl, please let me know.

2. Windows Firewall/Symantec Endpoint

Symantec Endpoint doesn?t successfully manage Windows Firewall although it
is supposed to. Windows Firewall must explicitly allow inbound and outbound
rsyncd traffic therefore you need to create new rules for rsyncd in Windows
Firewall. Setting the rules in Symantec Endpoint is ineffective.

You could alternatively open port 873 to all traffic, but I didn?t try this
method.

Pinging (ICMP) must also be allowed in Windows Firewall. W7 appears to allow
pings if you declare your network private or trusted, then you don?t need to
create new firewall rules for pings.

Tom --

________________________________________
From: Fresel Michal - hi competence e.U. [mailto:m.fresel AT hi-competence DOT 
eu] 
Sent: Tuesday, March 29, 2011 17:46
To: tbrown AT riverbendhose DOT com; General list for user discussion,questions 
and
support
Subject: Re: [BackupPC-users] Auth failed on module cDrive

hi Tom,

as of your "Permission denied (13)" - problem
please recheck the permissions for the mentioned folders
this should be set to at least read-permission for "System"
this is always an issue when users create own directories belonging only to
them as they think this is more secure :)
as in this cases it's even the oposite: so even your antivirus-app is not
able to acces those dirs :)
and please try using a long password using alphanumerical (i.e
password4myserverATwork instead of a short cryptical like ":-~)
so you prevent issues with special characters like :.,;"'`

and for your tests using command-line try a password like passwort :)
and remember to change it after your tests :)))

Greetings
Mike

Am 21.03.2011 um 22:08 schrieb Tom Brown:


Server: x226.rbhs.lan running BackupPC 2.1.2 (old I know)
Client: W7 SP1 running cygwin-rsyncd-2.6.8_0
 
BackupPC reports ?auth failed on module cDrive?. The rsyncd.log on the W7
client reports ?connect from x226.rbhs.lan; password mismatch?.
 
1. I?ve double, triple and quadruple checked the password in rsyncd.secrets
and /mnt/backuppc/pc/daved-hp/config.pl.
2. I?ve removed the password from the backuppc account user login, the
secrets file and the client?s config.pl file on the server and get the same
errors.
3. ?strict modes = false? is set in the rsyncd.conf on the client.
4. The W7 client account ?backuppc? is listed in the Backup Operators group
on the client. The client account login pwd is the same as the
rsyncd.secrets pwd.
5. The C: drive on the client is not shared; it shouldn?t need to be because
of #4 above. When I do share it as ?cDrive? with client account ?backupp?
having full control of the share, the result is the same.
6. Rsync is running as a service on the W7 client.
7. The firewall allows traffic from/to the backuppc server. When I shut off
the firewall, backuppc and rsyncd report the same error condition. The
firewall is actually controlled by Symantec Endpoint 11.
 
When I rsync files from the command line on the backuppc server using 
?rsync -av backuppc@daved-hp::cDrive .?, I get a series of permission denied
errors.
 
receiving file list ...
rsync: opendir "ygdrive/c/Windows/system32/c:/Documents and Settings" (in
cDrive) failed: Permission denied (13)
rsync: opendir "ygdrive/c/Windows/system32/c:/ProgramData/Application Data"
(in cDrive) failed: Permission denied (13)
rsync: opendir "ygdrive/c/Windows/system32/c:/ProgramData/Desktop" (in
cDrive) failed: Permission denied (13)
rsync: opendir "ygdrive/c/Windows/system32/c:/ProgramData/Documents" (in
cDrive) failed: Permission denied (13)
rsync: opendir "ygdrive/c/Windows/system32/c:/ProgramData/Favorites" (in
cDrive) failed: Permission denied (13)
rsync: opendir "ygdrive/c/Windows/system32/c:/ProgramData/Start Menu" (in
cDrive) failed: Permission denied (13)
rsync: opendir "ygdrive/c/Windows/system32/c:/ProgramData/Templates" (in
cDrive) failed: Permission denied (13)
?etc?
 
TIA for any troubleshooting ideas.
 
Tom --
 
----------------------------------------------------------------------------
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar_________________________________
______________
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/




------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
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>