Amanda-Users

Re: Trouble getting SAMBA to work with AMANDA

2002-12-05 17:26:21
Subject: Re: Trouble getting SAMBA to work with AMANDA
From: Jeffery Smith <smith AT skycomputers DOT com>
To: "Richard B. Tilley " "(Brad)" <rtilley AT vt DOT edu>
Date: 05 Dec 2002 16:38:48 -0500
I will give that a try tomorrow (the ntbackup approach).  Sounds like a
great idea.

I double checked the "backup" account on the Win2k box.  It is in the
administrators group, so I am fairly certain is has full control.  I
failed to mention in my last reply that the drive on this one is NTFS,
not FAT.  Your ntbackup approach sounds perfect as I believe that would
preserve all the permissions.  I am not sure how the smbclient approach
handles permissions, etc.  I will try the backup again tomorrow with a
subdirectory instead of the entire disk.  If I can get that to work, I
will use your ntbackup idea.

I also checked the Win95 box again and I have the share set to
full-control.  I'm not sure what is going on there.  Of course this
drive is FAT32.

I am completely baffled.  If I mount the shares on zeus, I have no
problems.  I can move around and copy files and everything seems fine. 
I didn't think of checking the samba lists...I will take a peek over
there tomorrow, too...it's been a long day.

Thanks again for your help!

Jeff

On Thu, 2002-12-05 at 16:25, Richard B. Tilley (Brad) wrote:
> On the 2000 box, be certain that the user that smbclient uses to access
> the share has full-control over the files within that share. In order to
> avoid this problem, I us ntbackup to create an archive of all the files
> that I want backed-up and then only allow access to the user that
> amanda/smbclient uses to get to that file. And, I give that user
> full-control. If possible, it's best to create a separate partition 
> formated NTFS so you can control access.
> 
> I do this on 75 2000 boxes without problems. I have an old 95 box that
> used to display the same error that you listed, but when I set its share
> to full-control, the error  stopped and amanda worked just fine. I read
> someplace once (a long time ago) that the user that smbclient uses to
> access the shares has to have write/change ability in order to do
> incrementals.
> 
> Maybe someone else (more familiar with this) can go into this more. Try
> the samba list too.
> 

-- 
+----------------------------------------------------------------+
| Jeffery Smith - Systems Administrator - smith AT skycomputers DOT com |
| Sky Computers, Inc. (www.skycomputers.com)                     |
+----------------------------------------------------------------+