Re: [BackupPC-users] Using mod_auth_pam

2006-12-04 Thread Alex Schaft

On 2006/11/30 10:20 AM, Craig Barratt wrote:

Alex writes:

  
I've successfully configured mod_auth_pam, and can now log on using 
domain user name and password. I have also put user names in the host 
file as domain\user. The only problem I still have is that when I set 
$Conf{CgiAdminUsers} to domain\user, the admin interface does not come up.


What other format can I try?



You need to confirm how apache passes such a user name
via the REMOTE_USER environment variable.  Use the
printenv script included in apache's cgi-bin to see.

Second, do you use single or double-quotes in defining $Conf{CgiAdminUsers}?
With an embedded backslash you will need to use single quotes.

  

Turns out I needed double quotes :)

Alex

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Installation on Fedora Core 5 login to CGI page trouble.

2006-12-04 Thread Krsnendu dasa
I have previously (several months ago) installed Backuppc on Ubuntu.
This time I am trying to install it on K12LTSP 5 (Fedora Core 5)I
installed using yum. Then I edited config.pl and hosts the same way
the files on Ubuntu were set up. Next I tried to connect to the CGI
interface.
I typed http://localhost/BackupPC I was then presented with the
username and password screen. I can't get past it. I tried backuppc,
root my username (which defined in config.pl)
I tried setting adminusers to * also.
No joy. What should I do next?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Installation on Fedora Core 5 login to CGI pagetrouble.

2006-12-04 Thread Eric Snyder
I'll bet you have an Apache password issue. When BackupPC installed it
should have set up a username of backuppc and an 8 character long random
looking password. Every time I have run install it comes up with a screen
that gives you this password. This username and password is stored in a file
in the directory, I believe that the file is called htpasswd. This is an
Apache web server password. To set the password you need to do an htpasswd
command. You will find general instructions on using htpasswd with Apache
here:
http://www.apacheweek.com/features/userauth

I am sorry I do not remember where the htpasswd file is stored in the
directory structure.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Krsnendu
dasa
Sent: Monday, December 04, 2006 9:57 AM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Installation on Fedora Core 5 login to CGI
pagetrouble.

I have previously (several months ago) installed Backuppc on Ubuntu.
This time I am trying to install it on K12LTSP 5 (Fedora Core 5)I
installed using yum. Then I edited config.pl and hosts the same way
the files on Ubuntu were set up. Next I tried to connect to the CGI
interface.
I typed http://localhost/BackupPC I was then presented with the
username and password screen. I can't get past it. I tried backuppc,
root my username (which defined in config.pl)
I tried setting adminusers to * also.
No joy. What should I do next?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problem with Web client 2.1.2

2006-12-04 Thread Jason Hughes

Fabio,

Usually, when it complains that Apache can't connect to BackupPC, it's 
because BackupPC isn't running.  You can log in as root, then do 
'service backuppc restart' and see what it does.  It should shut down 
first, then start.  I expect it to say 'failed' when trying to shut 
down, because I don't think it's running.  Then it should start, and 
your www will be working. 

However, if it says 'ok' when shutting down, you've got other problems, 
like files are in the wrong place, or some user permissions problem 
(httpd needs to run as a user that can access BackupPC files), etc.


You can also check to see if it is running by doing a 'ps ux' and 
looking at the programs running as your backuppc user.


Good luck,
JH

Fabio Parodi wrote:
The problem I have is about the BackupPC Web client. I'm pretty sure I 
did something wrong during the installation, but I can't fix it now.

As soon as I use my Firefox browser to  access:
http://localhost/cgi-bin/BackupPC_Admin
I get the BackupPC frame window, but with the following error:
Error: Unable to connect to BackupPC server:

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] dump failed: can't find Compress::Zlib

2006-12-04 Thread Jason Hughes
You can do this:
cpan
install Compress::Zlib

It should either fetch and compile the perl module, or tell you that it 
is already up to date.

JH

Ariyanto Dewo wrote:
 Hi all,
 Thanks for the respond my last message 'backup
 backuppc', I am able to
 figure it out to works. But now I have a problem with
 backuppc. It complain
 can't find Compress::Zlib, but when I query using
 perldoc, it already
 installed. This problem occurs just couple days ago.
 What should I do with
 this problem?
 Thanks for the enlighment.

 Rgds,
 -dewo-

 /\
 \ / ASCII RIBBON CAMPAIGN
  X  ~ AGAINST HTML MAIL ~
 / \




  
 
 Do you Yahoo!?
 Everyone is raving about the all-new Yahoo! Mail beta.
 http://new.mail.yahoo.com

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/

   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsyncd exclude

2006-12-04 Thread Jason Hughes
I had no luck with getting rsyncd on Windows to work with spaces in 
filenames through the config file.  I resorted to using the 8.3 
filenames instead, ie:
secrets file = c:/Progra~1/rsyncd/rsyncd.secrets

The easy way to find them is to do a dir /x and you get both the long 
and short names.

Hope this helps,
JH

Algobit wrote:
 I try to use the exclude directive in rsyncd.conf on my windows machine

 [docs]
 # 
 # 
 #
 path = C:/Documents and Settings/ENRICO/Documenti
 exclude = C:/Documents and Settings/ENRICO/Documenti/Macchine virtuali

 but the directory isn't excluded.

 I have to use in config.pl $Conf{BackupFilesExclude} ?

   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rsyncd

2006-12-04 Thread Byron Trimble
Here is my rsyncd.conf file:
 
use chroot = false
max connections = 4
log file = c:/rsyncd/rsyncd.log
pid file = c:/rsyncd/rsyncd.pid
lock file = c:/rsyncd/rsyncd.lock
 
[mssql]
 
path = g:/MSSQL/Backup
comment = MSSQL Database Backup
auth users = backuppc, root
uid = backuppc
gid = backuppc
secrets file = c:/rsyncd/rsyncd.secrets
hosts allow = 10.1.6.160, 209.4.229.160, localhost
strict modes = false
read only = true
list = false
transfer logging = yes
 
Here is my rsyncd.secrets file:
 
#
# The format of this file is user:password. You can have as many entries
# as you wish. These accounts are sepecifc to the rsync daemon and share
# no relation to Windows local/domain accounts, nor Cywin entries in the
# passwd file.
#
# SECURITY WARNING: Don't use these defaults of UUU for the user name
# and PPP for the password! Change them!!
#
# Also: make sure this file ends in a newline.  Otherwise the last
# username/password pair will be ignored.
#
 
backuppc:*
root:*
 
Here is my per pc config.pl
 
# Tell BackupPC we wish to use rsyncd: requires rsync to be running as
# a service/daemon on the client system
#
$Conf{XferMethod} = 'rsyncd';
#
# Tell BackupPC which user name and password to use.  This should
# match the userName:password pair in the C:\rsyncd\rsyncd.secrets
# file on the client.
#
$Conf{RsyncdUserName}  = 'backuppc';
$Conf{RsyncdPasswd}= '**';
$Conf{RsyncdAuthRequired} = 1;
 
#
# Tell BackupPC which share to backup.  This should be the name
# of the module from C:\rsyncd\rsyncd.conf on the client (the
# name inside the square brackets).  In the sample rsynd.conf
# file the cDrive module is the entire C drive.
#
$Conf{RsyncShareName}  = 'mssql';
 
#
# Rsync daemon port on the client, for $Conf{XferMethod} = rsyncd.
#
$Conf{RsyncdClientPort} = 873;
 
$Conf{XferLogLevel} = 3;
$Conf{WakeupSchedule} = [ '06' ];
$Conf{SendmailPath} = '/usr/sbin/sendmail';
$Conf{EMailNotifyMinDays} = 1.0;
$Conf{EMailFromUserName} = 'backuppc';
$Conf{EMailAdminUserName} = '[EMAIL PROTECTED]'
mailto:'[EMAIL PROTECTED]' ;

Thanks,
 

-Original Message-
From: Nicholas Hall [mailto:[EMAIL PROTECTED]
Sent: Friday, December 01, 2006 12:41 PM
To: Byron Trimble
Cc: Backuppc-Users (E-mail)
Subject: Re: [BackupPC-users] Rsyncd


On 12/1/06, Byron Trimble  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote: 


I received this error meesage last night when my backups ran:

backup failed (aborted by signal=PIPE)

Could anyone tell me what this means.



Byron, perhaps you should post your rsyncd.conf on your Window's box and pc
config.pl from BackupPC to the list.  Make sure to censor your passwords if
necessary.  It seems like you have a simple misconfiguration issue but it's
hard to pin point without specifics.


-- 
Nicholas Hall
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
262.208.6271 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Installation on Fedora Core 5 login to CGI pagetrouble.

2006-12-04 Thread Krsnendu dasa
I found the file /etc/httpd/conf.d/BackupPC.conf  As follows:

Directory   /usr/share/BackupPC/sbin/
# BackupPC requires valid authentication in order for the web interface to
# function properly.  One can view the web interface without authentication
# though all functionality is disabled.
#
# htpasswd -c /etc/BackupPC/apache.users yourusername
#

order deny,allow
deny from all
allow from 127.0.0.1
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName BackupPC

require valid-user

/Directory


Alias   /BackupPC/images/usr/share/BackupPC/html/
ScriptAlias /BackupPC   /usr/share/BackupPC/sbin/BackupPC_Admin

I added my username and backuppc and BackupPC to the
/etc/BackupPC/apache.users file.
Still can't get past username and password dialog on web page.

On 05/12/06, Eric Snyder [EMAIL PROTECTED] wrote:
 I'll bet you have an Apache password issue. When BackupPC installed it
 should have set up a username of backuppc and an 8 character long random
 looking password. Every time I have run install it comes up with a screen
 that gives you this password. This username and password is stored in a file
 in the directory, I believe that the file is called htpasswd. This is an
 Apache web server password. To set the password you need to do an htpasswd
 command. You will find general instructions on using htpasswd with Apache
 here:
 http://www.apacheweek.com/features/userauth

 I am sorry I do not remember where the htpasswd file is stored in the
 directory structure.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Krsnendu
 dasa
 Sent: Monday, December 04, 2006 9:57 AM
 To: backuppc-users@lists.sourceforge.net
 Subject: [BackupPC-users] Installation on Fedora Core 5 login to CGI
 pagetrouble.

 I have previously (several months ago) installed Backuppc on Ubuntu.
 This time I am trying to install it on K12LTSP 5 (Fedora Core 5)I
 installed using yum. Then I edited config.pl and hosts the same way
 the files on Ubuntu were set up. Next I tried to connect to the CGI
 interface.
 I typed http://localhost/BackupPC I was then presented with the
 username and password screen. I can't get past it. I tried backuppc,
 root my username (which defined in config.pl)
 I tried setting adminusers to * also.
 No joy. What should I do next?

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Installation on Fedora Core 5 login to CGI pagetrouble.

2006-12-04 Thread Jason Hughes
Are you missing a double-quote on the AuthName line?  That might confuse 
the parser, causing who knows what problems.

JH

Krsnendu dasa wrote:
 AuthName BackupPC

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rsyncd

2006-12-04 Thread Byron Trimble
This is the error message that I'mgetting now:

rsync: getaddrinfo:  873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(107)
[receiver=2.6.8]

Thanks,

-Original Message-
From: Nils Breunese (Lemonbit) [mailto:[EMAIL PROTECTED]
Sent: Friday, December 01, 2006 1:24 PM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Rsyncd


Nicholas Hall wrote:

 On 12/1/06, Byron Trimble [EMAIL PROTECTED] wrote:
 I received this error meesage last night when my backups ran:

 backup failed (aborted by signal=PIPE)

 Could anyone tell me what this means.


 Byron, perhaps you should post your rsyncd.conf on your Window's  
 box and pc config.pl from BackupPC to the list.  Make sure to  
 censor your passwords if necessary.  It seems like you have a  
 simple misconfiguration issue but it's hard to pin point without  
 specifics.

I use rsync over ssh with Linux boxes, but every once in a while I  
get the 'aborted by signal=PIPE' error too. When I restart the backup  
it usually just works. Might have been a network hiccup?

Nils Breunese.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rsyncd

2006-12-04 Thread Byron Trimble
I'm also getting:

@ERROR: chdir failed

Thanks,

-Original Message-
From: Byron Trimble 
Sent: Monday, December 04, 2006 3:34 PM
To: 'Nils Breunese (Lemonbit)'; backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Rsyncd


This is the error message that I'mgetting now:

rsync: getaddrinfo:  873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(107)
[receiver=2.6.8]

Thanks,

-Original Message-
From: Nils Breunese (Lemonbit) [mailto:[EMAIL PROTECTED]
Sent: Friday, December 01, 2006 1:24 PM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Rsyncd


Nicholas Hall wrote:

 On 12/1/06, Byron Trimble [EMAIL PROTECTED] wrote:
 I received this error meesage last night when my backups ran:

 backup failed (aborted by signal=PIPE)

 Could anyone tell me what this means.


 Byron, perhaps you should post your rsyncd.conf on your Window's  
 box and pc config.pl from BackupPC to the list.  Make sure to  
 censor your passwords if necessary.  It seems like you have a  
 simple misconfiguration issue but it's hard to pin point without  
 specifics.

I use rsync over ssh with Linux boxes, but every once in a while I  
get the 'aborted by signal=PIPE' error too. When I restart the backup  
it usually just works. Might have been a network hiccup?

Nils Breunese.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC_link got error -4

2006-12-04 Thread Mac Hamblin
I have searched but can't find anything about this (hope I didn't miss it 
somewhere).  I'm getting this error in my logs.  Anyone know if this is good, 
bad, indifferent or if there is a way to fix it?  I just installed BackupPC and 
currently have 3 Debian 3.1 Linux clients backing up to the server.  I 
currently have 1 full and 2 incremental backups of each client.  The server is 
also running Debian 3.1 Linux with BackupPC version 2.1.2pl1.

BackupPC_link got error -4 when calling 
MakeFileLink(/var/lib/backuppc/pc/clientname/2/f%2f/fvar/fwww/fweb8/fweb/fmodules/fuseralbum/flocale/fru/attrib,
 0aa64187c550d91c15265a9c7d0b971f, 1)

Thanks in advance.-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] not compressing

2006-12-04 Thread Lluís Forns
Backuppc is not compressing my files. After some research I have figured 
out that maybe it is because I configured it for the localhost using:

$Conf{TarClientCmd} = '/usr/bin/sudo $tarPath -c -v -f - -C $shareName+ 
--totals';

and it is not using the variables

$Conf{ArchiveComp} = 'gzip';
$Conf{CompressLevel} = 1;

I tried adding '-z' to make it compress files using gzip, but it didn't 
worked. Any hint of what to do?

thanks a lot

-- 
Lluís Forns
Tècnic Informàtic - Àrea de Comunicació (MEGSJC)
Tlf: 93-5902700 C/e: [EMAIL PROTECTED]
http://www.escoltesiguies.cat


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-04 Thread Eric Snyder
Yes, I created a user called backup and they are a member of the 
backup operators group. I gave that user a password. I am not escaping 
the $ but use a command similar to what you show below and get 
NT_STATUS_ACCESS_DENIED. Again, If I change the command from 
/usr/bin/smbclient gandolf\\C$ -U backup to /usr/bin/smbclient 
gandolf\\Eric -U backup it connects to the Eric folder just fine.


I don't know that much about sharing and networking but it's like the 
default share on C is messed up.


What next?

Jason Hughes wrote:

Eric,

You may need to do two things... Are you creating a user on the 
Windows box that is a member of the backup operators group?  You can 
either do that, or use the administrator account.  In either case, you 
will probably want to use a username that exists on the Windows 
machine that *requires a password*.  Using an account that has a blank 
password may work only for certain folders, but fail when accessing 
others, inexplicably.


Second, don't escape the $.  I just did this:
/usr/bin/smbclient dev1\\C$ -U jhughes

It worked fine.  However, if I use a username that doesn't exist on 
the windows machine, it gives NT_STATUS_ACCESS_DENIED.


Good luck,
JH

Eric Snyder wrote:
Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me NT_STATUS_BAD_NETWORK_NAME

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me NT_STATUS_ACCESS_DENIED

How to fix?
  
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-04 Thread Jason Hughes
Quickly try making backup an administrator and re-run the smbclient 
command.  If it's a permission thing, this will solve it for sure.  (In 
which case, you'll have to figure out what permission Backup Operators 
lack... perhaps access for C$ has been restricted or broken.  You could 
try deleting C$ share and rebooting.  Or you might find this helpful.  
http://support.microsoft.com/kb/314984)


If being an administrator doesn't help, try using the actual 
administrator user to access C$.  If that doesn't work, there's got to 
be something wrong with the share, especially if other shares work.  I'm 
no SMB guru, though.


JH

Eric Snyder wrote:
Yes, I created a user called backup and they are a member of the 
backup operators group. I gave that user a password. I am not escaping 
the $ but use a command similar to what you show below and get 
NT_STATUS_ACCESS_DENIED. Again, If I change the command from 
/usr/bin/smbclient gandolf\\C$ -U backup to /usr/bin/smbclient 
gandolf\\Eric -U backup it connects to the Eric folder just fine.


I don't know that much about sharing and networking but it's like the 
default share on C is messed up.


What next?

Jason Hughes wrote:

Eric,

You may need to do two things... Are you creating a user on the 
Windows box that is a member of the backup operators group?  You can 
either do that, or use the administrator account.  In either case, 
you will probably want to use a username that exists on the Windows 
machine that *requires a password*.  Using an account that has a 
blank password may work only for certain folders, but fail when 
accessing others, inexplicably.


Second, don't escape the $.  I just did this:
/usr/bin/smbclient dev1\\C$ -U jhughes

It worked fine.  However, if I use a username that doesn't exist on 
the windows machine, it gives NT_STATUS_ACCESS_DENIED.


Good luck,
JH

Eric Snyder wrote:
Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me NT_STATUS_BAD_NETWORK_NAME

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me NT_STATUS_ACCESS_DENIED

How to fix?
  
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-04 Thread Adam Goryachev
Eric Snyder wrote:
 Yes, I created a user called backup and they are a member of the 
 backup operators group. I gave that user a password. I am not escaping 
 the $ but use a command similar to what you show below and get 
 NT_STATUS_ACCESS_DENIED. Again, If I change the command from 
 /usr/bin/smbclient gandolf\\C$ -U backup to /usr/bin/smbclient 
 gandolf\\Eric -U backup it connects to the Eric folder just fine.
Just a thought, have you tried:
/usr/bin/smbclient gandolf\\C\$ -U backup

Regards,
Adam

-- 
Adam Goryachev
Website Managers
Ph: +61 2 8304 [EMAIL PROTECTED]
Fax: +61 2 8304 0001www.websitemanagers.com.au


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] BackupPC_link got error -4

2006-12-04 Thread Craig Barratt
Mac writes:

 I have searched but can't find anything about this (hope I didn't miss it 
 somewhere).  I'm getting this error in my logs.  Anyone know if this is good, 
 bad, indifferent or if there is a way to fix it?  I just installed BackupPC 
 and currently have 3 Debian 3.1 Linux clients backing up to the server.  I 
 currently have 1 full and 2 incremental backups of each client.  The server 
 is also running Debian 3.1 Linux with BackupPC version 2.1.2pl1.
 
 BackupPC_link got error -4 when calling 
 MakeFileLink(/var/lib/backuppc/pc/clientname/2/f%2f/fvar/fwww/fweb8/fweb/fmodules/fuseralbum/flocale/fru/attrib,
  0aa64187c550d91c15265a9c7d0b971f, 1)

This might mean you are out of hardlinks (use df -i to check)
or that /var/lib/backuppc/pc/clientname is on a different
filesystem than /var/lib/backuppc/cpool (use:

df /var/lib/backuppc/pc/clientname
df /var/lib/backuppc/cpool

to check).

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/