Hello Jorge,

Thanks for your feedback about no auth problem on Baculum 9.0.3.

Also thanks for the bug report about broken links. I fixed it.

Best regards.
Marcin Haba (gani)

On 25 August 2017 at 15:52, jorge.dejesus <[email protected]> wrote:
> Hi to all
>
> Marcin thank you for the help, I have analyzed the HTTP requests using
> Apache's log forensic and dump env variables but no sucess the proxy just
> add the generic proxy headers (e.g: X-Forward-For) and  the headers between
> localhost and proxy are the same.
>
> Anyway, followed your suggestion and install baculum 9.0.3 and everything is
> OK, I am even using the HTTP auth on  the proxy side.
>
> The only problem I had was link to the message.po that was broken and was
> giving a gui full of @@
>
> <install dir  set on make
> command>/usr/share/baculum/htdocs/protected/API/Lang/en/messages.mo ->
> /usr/share/locale/en/LC_MESSAGES/baculum-api.mo (boken link)
>
> Thank you for the help
>
> Jorge de Jesus
>
>
>
>
>
> On 25-08-17 08:07, Marcin Haba wrote:
>>
>> Hello Jorge,
>>
>> I think that your diagnoze of the problem is correct. Something is
>> lost when the request goes throught proxy. Baculum uses the server
>> environment variables that are probably lost. You can try to pass them
>> by the proxy. To do that you need to know what is lost, so you can try
>> to print $_SERVER superglobal array on both sides and compare for
>> differences. Example script content:
>>
>> <?php
>>      print_r($_SERVER);
>> ?>
>>
>> I remember one thread where was lost 'HTTPS' variable:
>> http://www.backupcentral.com/forum/19/271649
>>
>> I also encourage to update to 9.0 version with new features as the API
>> and the Bacula config module.
>>
>> I hope it helps. Please let know about the result.
>>
>> Good luck.
>>
>> Best regards.
>> Marcin
>>
>> On 24 August 2017 at 16:53, jorge.dejesus <[email protected]>
>> wrote:
>>>
>>> Hi to all
>>>
>>>
>>> I am trying to install baculum and I am getting the following at the end
>>> of
>>> the wizard
>>>
>>> Error 6 - authorization to Baculum error
>>>
>>>
>>> Installed:
>>>
>>> baculum:7.4.4-1
>>>
>>> Ubuntu 16.04.3 LTS
>>>
>>>
>>> I am trying to run baculum behind an apache2 proxy, basically the apache2
>>> proxy supports HTTPS and redirects to baculum on port 9095, configuration
>>> of
>>> proxy:
>>>
>>> https://pastebin.com/3An0XZnB
>>>
>>> (Nothing special just a normal ProxyPass to the IP of the VM)
>>>
>>>
>>> On the VM running baculum, the config is as follow
>>>
>>> https://pastebin.com/ZmgBgrB9
>>>
>>> More or less the default config from baculum
>>>
>>>
>>> When I try to access  baculum using the url on the apache proxy e.g:
>>>
>>> https://bak.almoneda.net
>>>
>>> I get the error: Error 6 - authorization to Baculum error , the system
>>> asks
>>> for the auth relm and gives the error
>>>
>>> If on the VM I use lynx
>>>
>>> http://localhost:9095
>>>
>>> I can see baculum website without problems
>>>
>>>
>>> I have tried to run the http basic auth on the proxy side inside <Proxy
>>> *>
>>> with the same errors. Any tips on what could be the problem, it seems
>>> something in the headers of the proxy since on the VM and localhost
>>> everything is working
>>>
>>> I saw the following thread:
>>>
>>> http://bacula.10910.n7.nabble.com/Baculum-Authentication-Error-td85968.html
>>> The error was solved by upgrading to a new version (not done)
>>>
>>> Any tips on what can I do to fix it or how to debug (still can try a new
>>> version of baculum)
>>>
>>> Jorge
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Bacula-users mailing list
>>> [email protected]
>>> 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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to