Hi Marcin Many thanks for the clarification, I am on the right track :)
That would be great if we can use an admin account to view all hosts, if I look at the admin account that I initially created then it’s only able to view clients form api 1 and not api 2 how can I change it so the account sees both hosts? Is it possible to add more admin accounts? When I add a user it doesn’t give any option on changing the user privileges. Regards Per > On 7 Apr 2020, at 08:08, Marcin Haba <ganius...@gmail.com> wrote: > > Hello Per, > > Great. Thanks for the confirmation that it started working on your side. > > Also thank you for your feedback about documentation. I agree it must > be improved. > > About API hosts and users, currently is possible to use one regular > user per one API host as shown on this image: > > https://www.bacula.org/9.6.x-manuals/en/images/baculum_multi_user_user_mode.png > > <https://www.bacula.org/9.6.x-manuals/en/images/baculum_multi_user_user_mode.png> > > It can be also the same API host for all users, of course (or > different API hosts for users). > > Only main administrator account is capable to manage all hosts and > assign them to particular users as on image: > > https://www.bacula.org/9.6.x-manuals/en/images/baculum_multi_user_admin_mode.png > > <https://www.bacula.org/9.6.x-manuals/en/images/baculum_multi_user_admin_mode.png> > > Best regards, > Marcin Haba (gani) > > On Mon, 6 Apr 2020 at 12:43, Per Qvindesland <p...@me.com > <mailto:p...@me.com>> wrote: >> >> Hi >> >> Many thanks, I got the API to work on both api 1 and api 2 and the web host >> is able to talk to them and both are added in to the web host. >> >> I do apologies if this is stated clearly somewhere in the documentation and >> I have done a fair bit of googllingbut the only thing I can’t get my head >> around is how to assign hosts api 1 and api 2 to one user, >> >> I created a user on the each API hosts in then OAuth2 section then in >> configure I added the host with the client id’s to the web server host ran >> the tests, but when adding a new user then I still can’t add more then one >> API host to each user, is there anything that I have missed out on? >> >> Regards >> Per >> >> >> >> >> >>> On 5 Apr 2020, at 09:00, Marcin Haba <ganius...@gmail.com> wrote: >>> >>> Hello Per, >>> >>> Yes, your web server configuration is correct. >>> >>> Same changing web server configuration is not sufficient. Did you >>> switch Baculum API instance to use OAuth2? You can do it in Baculum >>> API configuration wizard. After that you need to define OAuth2 client >>> account and connect Baculum Web (in Settings wizard) to Baculum API >>> with these new OAuth2 settings. >>> >>> I hope it helps. >>> >>> Best regards, >>> Marcin Haba (gani) >>> >>> On Fri, 3 Apr 2020 at 17:30, Per Qvindesland via Bacula-users >>> <bacula-users@lists.sourceforge.net> wrote: >>>> >>>> Hi >>>> >>>> Thanks I am trying that but I am getting error Problem with authentication >>>> to Baculum API. >>>> >>>> >>>> Is this the correct apache config to disable basic authentication? >>>> >>>> # <Directory /usr/share/baculum/htdocs> >>>> <Location /api/page> >>>> AuthType Basic >>>> AuthName "Baculum Auth" >>>> AuthUserFile >>>> /usr/share/baculum/htdocs/protected/API/Config/baculum.users >>>> Require valid-user >>>> </Location> >>>> # </Directory> >>>> >>>> Regards >>>> Per >>>> >>>> >>>> >>>> >>>>> On 3 Apr 2020, at 14:57, Heitor Faria <hei...@bacula.com.br> wrote: >>>>> >>>>>> Hi >>>>> >>>>> Hello Per, >>>>> >>>>>> Not sure if this is the correct place to ask but I am using Baculum and >>>>>> I am >>>>>> wondering if it’s possible to configure baculum to allow users to view >>>>>> multiple >>>>>> api hosts? >>>>> >>>>> Yes >>>>> <https://www.bacula.org/9.4.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION003140000000000000000>. >>>>>> >>>>>> Regards >>>>> >>>>> Regards, >>>>> >>>>>> Per >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Bacula-users mailing list >>>>>> Bacula-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>>>> >>>>> -- >>>>> MSc Heitor Faria >>>>> CEO Bacula LATAM >>>>> mobile1: + 1 909 655-8971 >>>>> mobile2: + 55 61 98268-4220 >>>>> [ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] >>>>> [ http://www.bacula.com.br/ ] >>>>> >>>>> América Latina >>>>> [ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | >>>>> bacula.com.br ] >>>> >>>> >>>> >>>> _______________________________________________ >>>> Bacula-users mailing list >>>> Bacula-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>> >>> >>> >>> -- >>> "Greater love hath no man than this, that a man lay down his life for >>> his friends." Jesus Christ >>> >>> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie >>> za przyjaciół swoich." Jezus Chrystus >> > > > -- > "Greater love hath no man than this, that a man lay down his life for > his friends." Jesus Christ > > "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie > za przyjaciół swoich." Jezus Chrystus
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users