In the current versions (up to and including the soon to be released
1.40.0), the Windows Client (Bacula-fd) and the Storage Daemon (Bacula-sd)
must be run using the System account.  This is how they are configured by
the installer.  The Director (Bacula-dir) could be configured with a
different user; it isn't by the current installer to keep things simple.

The requirement comes from both client and storage being interactive
services.  You must be running as System for the tray icon to work.  I'm not
sure exactly what would happen if you did run it as another user but I
imagine all sorts of weird subtle problems.

In the future I'd like to rewrite the tray icon code so that it works more
like the Unix gnome version.  Then it would be possible to run the client
under any account with the Backup privilege.  The storage daemon would just
need access to the tape drives, changers, and file volumes.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arno
Lehmann
Sent: Friday, October 20, 2006 3:57 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] [Win Restore] Error: "Client lacks a necessary
right"

Hi,

On 10/20/2006 9:03 AM, Jens Classen wrote:
> Greetings list!
> 
> After backing up a first Windows client in our new Bacula environment, I
> ran into problems I could not solve on my own (yet). I tried to restore
> the files I backed up back to the HDD of the Win-Client, but the job
> bails out with something along the lines like:
> 
> "The clients lacks a necessary right" (translated from the German
> error code)
> 
> I backed up the Bacula-doc folder first, which was created as admin, but 
> also regular user files, and it drops out with said error. Restore of a 
> UNIX machine back to the UNIX machine works fine. Must there be a 
> special local or network bacula user for the restore to work on Windows?

No, not automatically.
What you need to do, though, is make sure that the FD runs as a user 
with all necessary access permissions. Depending on the XP flavour you 
run and your setup - AD or local authorization, policies, permissions of 
users - that can be a little hard to analyze... verify which account the 
FD uses. You can see this in the system settings, where you configure 
the Services (German Windows: Systemsteuerung / Verwaltung / Dienste) or 
in the task manager. Probably there are also command line tools 
available to get this information.

In an AD configuration I think you should make sure the FD runs as 
Backup, and the Backup group or user has all the necessary permissions.

You can check the file access rights for individual files and 
directories with cacls.

Arno

> Thanks for any hints and information in advance!
> 
> 
> 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to