Hi Dave,

what about running bareos-fd service with domain rights?

Regards

Stefan

Am 23.09.2016 um 20:41 schrieb [email protected]:
> I am running a bat script that needs admin permissions to work and it seems 
> like Bareos (windows ver bareos-dir Version: 15.2.2) runs in with local 
> system credentials. I have tested my script running as domain admin and local 
> system and am successful running as domain\admin, when I run as local system 
> I get the same error as seen below. 
>
> This is the message I get from bconsole when running the bat file: 
>
> 23-Sep 13:30 bareos-dir JobId 589: AfterJob:
> 23-Sep 13:30 bareos-dir JobId 589: AfterJob: Unhandled Exception: 
> System.InvalidOperationException: Showing a modal dialog box or form when the 
> application is not running in UserInteractive mode is not a valid operation. 
> Specify the ServiceNotification or DefaultDesktopOnly style to display a 
> notification from a service application.
> 23-Sep 13:30 bareos-dir JobId 589: AfterJob:    at 
> system.Windows.Forms.Form.ShowDialog(IWin32Window owner)
> 23-Sep 13:30 bareos-dir JobId 589: AfterJob:    at o.get_d()
> 23-Sep 13:30 bareos-dir JobId 589: AfterJob:    at o.b()
> 23-Sep 13:30 bareos-dir JobId 589: AfterJob:    at il.Main(String[] args)
>
> Is there anyway to run a script with domain administrator privileges or 
> suggestions for a workaround? 
>
> Thanks in advance, 
>
> Dave
>

-- 
*CaC, Computer and Communication*
Inhaber Stefan Klatt
End-2-End Senior Network Consultant
Triftstrasse 9
60528 Frankfurt
Germany
USt-IdNr.: DE260461592

Tel.: +49-(0)172-6807809
Tel.: +49-(0)69-67808-900
Fax: +49-(0)69-67808-837
Email: [email protected]
Profil: http://www.cac-netzwerk.de/profil

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to