Hello d09,

Yes, you can. In the documentation is written for the local user
authentication:

"This type of authentication is realized by HTML form in the Baculum Web.
Once this method is enabled, the web server basic authentication can be
disabled."

Best regards,
Marcin Haba (gani)

On Sun, 5 Feb 2023 at 18:00, <d...@bornfree.org> wrote:

>
> How do I enable "local user" authentication so I can disable the
> apache-based authentication?  The docs don't say.
>
> ---
>
> On 2/5/2023 6:44 AM, Marcin Haba wrote:
> > Hello Marco,
> >
> > Thanks for confirmation and for the idea to add to the documentation
> > information about disabling the basic authentication.
> >
> > I have added it:
> >
> > https://baculum.app/doc/brief/configuration.html#baculum-web
> > <https://baculum.app/doc/brief/configuration.html#baculum-web>
> >
> > Best regards,
> > Marcin Haba (gani)
> >
> > On Fri, 3 Feb 2023 at 15:07, Marco Gaiarin <g...@lilliput.linux.it
> > <mailto:g...@lilliput.linux.it>> wrote:
> >
> >     Mandi! Marcin Haba
> >        In chel di` si favelave...
> >
> >      > If you use LDAP authentication, all this Apache block with Basic
> >     auth can be
> >      > removed. In this place you can write:
> >      >
> >      > # Apache 2.4
> >      > <IfModule mod_authz_core.c>
> >      >        <Directory /usr/share/baculum/htdocs>
> >      >                Require all granted
> >      >        </Directory>
> >      > </IfModule>
> >
> >     Bingo! It worked!
> >
> >
> >     Can be written somewhhere, eg in documentation and/or in the apache
> >     virtualhost file example?
> >
> >     I've written, for example:
> >
> >              # Apache 2.4
> >              <IfModule mod_authz_core.c>
> >                      <Directory /usr/share/baculum/htdocs>
> >                              # Using 'HTTP Basic' authentication,
> >     comment for other method.
> >                              #SetEnvIf Request_URI "^/web/redirect$"
> >     noauth=1
> >                              #<RequireAny>
> >                              #       <RequireAll>
> >                              #               <RequireAny>
> >                              #                       Require env noauth
> >                              #                       Require env
> >     REDIRECT_noauth
> >                              #               </RequireAny>
> >                              #               Require all granted
> >                              #       </RequireAll>
> >                              #       <RequireAll>
> >                              #               AuthType Basic
> >                              #               AuthName "Baculum Auth"
> >                              #               AuthUserFile
> >     /usr/share/baculum/htdocs/protected/Web/Config/baculum.users
> >                              #               Require not env noauth
> >                              #               Require not env
> REDIRECT_noauth
> >                              #               Require valid-user
> >                              #       </RequireAll>
> >                              #</RequireAny>
> >
> >                              # Using 'Local user' or 'LDAP'
> >     authentication, comment for 'HTTP Basic'.
> >                              Require all granted
> >                      </Directory>
> >              </IfModule>
> >
> >
> >     Thanks!
> >
> >
> >     _______________________________________________
> >     Bacula-users mailing list
> >     Bacula-users@lists.sourceforge.net
> >     <mailto:Bacula-users@lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/bacula-users
> >     <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
>


-- 
"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

Reply via email to