Hi guys,

I disabled Auth Basic and works fine. Now I’m trying add a Prado Auth 
customized.It works fine the authentication, but after login nothing data is 
loaded.

This error is showed to me :



I think that I need set more some thing to works fine. I already set 
$_SERVER[‘PHP_AUTH_USER’].

Someone had this problem?

Thanks

Ricardo



> On Jan 4, 2020, at 2:10 PM, Rasmus Linden <rasmus.linden...@gmail.com> wrote:
> 
> Hi Ricardo!
> I have baculum ( or its actually apache doing the lifting) authenticate 
> against my companies ldap server.
> Works like a charm, highly recommendable solution.
> All the best
> Ras
> 
> 
>> On 5 Jan 2020, at 5:47 am, Marcin Haba <ganius...@gmail.com> wrote:
>> 
>> Hello Ricardo,
>> 
>> Yes, it is possible to disable Auth Basic in Baculum Web. To do that
>> you need to disable Auth Basic in your web server config file for
>> Baculum Web and then you need to do a workaround in code by defining
>> default Baculum Web user in gui/baculum/protected/Web/Init.php file,
>> somewhere at the beginning of this file, for example:
>> 
>> $_SERVER['PHP_AUTH_USER'] = 'admin';
>> $_SERVER['PHP_AUTH_PW'] = 'admin';
>> 
>> This way Baculum Web will default use this user/pass to work without Auth 
>> Basic.
>> 
>> For other methods, unfortunately HTML form nor OAuth2 for Baculum Web
>> are not supported.
>> 
>> I hope it helps.
>> 
>> Best regards,
>> Marcin Haba (gani)
>> 
>> On Sat, 4 Jan 2020 at 00:32, Ricardo Aragão da Silva
>> <rara...@raragao.eng.br> wrote:
>>> 
>>> Hi guys,
>>> 
>>> Someone knows if is possible disable Auth Basic of the Baculum or change 
>>> for other Auth type, like HTML form, for example ? Or use oauth2 to auth to 
>>> web?
>>> 
>>> Thanks
>>> 
>>> Ricardo
>>> 
>>> _______________________________________________
>>> 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
>> 
>> 
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to