BackupPC-users

Re: [BackupPC-users] Trouble setting up backup to a Windows host

2010-03-15 08:59:32
Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host
From: Max Hetrick <maxhetrick AT verizon DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 15 Mar 2010 08:58:08 -0400
Sorin Srbu wrote:

> Same settings as before, but tried your mount.cifs-command instead.
> Something interesting is happening; I now get a question for password, I
> assume it's the one in /etc/.autofs.smbpasswd, right? So I enter it and get
> an error 13, Permission denied. If it's not the same password pre-entered in
> /etc/.autofs.smbpasswd, which one is it??

Sorin,

I just made some corrections on my personal website regarding that page. 
I was having issues using a credentials file last month, perhaps it's 
the same issue you are having.

All my backups started failing where a credentials file was being used. 
I don't know if it's a bug with autofs, or something else wrong within 
CentOS. I did away with using the credentials file, and instead passed 
the username and password in the autofs file itself. Everything started 
working again, and I just haven't had time to investigate what caused 
the issue.

I don't maintain those pages any longer on the CentOS wiki due to some 
issues I had there with interactions. You can find the most recent page 
at my website.

http://www.maxsworld.org/index.php/how-tos/backuppc-on-centos

Did you try passing the username and password directly in the autofs entry?

machinename  -fstype=cifs,ro,username=$username,password=$password 
://machinename/C\$

Regards,
Max




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/