Re: [Bacula-users] Authentication at Baculum [SOLVED]

2020-01-18 Thread Marcin Haba
Hello Ricardo,

It is good to hear, that you solved problem with authentication and
that you prepared HTML form changes for that.

Yes, every contribution is welcome. Information about contributing in
Bacula project you can find here:

https://www.bacula.org/what-is-bacula/making-contributions/

You can share a patch with your changes. I will look at it. Thanks in advance.

Best regards,
Marcin Haba (gani)

On Sat, 18 Jan 2020 at 01:14, Ricardo Aragão da Silva
 wrote:
>
> Hi,
>
> I solved the problem.
>
> Now my Baculum have a version of authentication using Prado Auth with a 
> simple HTML Form. I implemented using same file (htpasswd) of users.
>
> If this is an important feature for project, I can make a pull request.
>
> Thanks for your attention.
>
> Regards,
>
> Ricardo
>
> On Jan 17, 2020, at 12:13 AM, Ricardo Aragão da Silva 
>  wrote:
>
> 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  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  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
>  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
>
>
> ___
> 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


Re: [Bacula-users] Authentication at Baculum [SOLVED]

2020-01-17 Thread Ricardo Aragão da Silva
Hi, 

I solved the problem.

Now my Baculum have a version of authentication using Prado Auth with a simple 
HTML Form. I implemented using same file (htpasswd) of users. 

If this is an important feature for project, I can make a pull request.

Thanks for your attention. 

Regards,

Ricardo

> On Jan 17, 2020, at 12:13 AM, Ricardo Aragão da Silva 
>  wrote:
> 
> 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 > > 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 >> > 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
>>> mailto: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

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


Re: [Bacula-users] Authentication at Baculum

2020-01-16 Thread Ricardo Aragão da Silva
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  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  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
>>  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


Re: [Bacula-users] Authentication at Baculum

2020-01-04 Thread Rasmus Linden
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  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
>  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


Re: [Bacula-users] Authentication at Baculum

2020-01-04 Thread Marcin Haba
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
 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] Authentication at Baculum

2020-01-03 Thread Ricardo Aragão da Silva
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