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 Best regards, Marcin Haba (gani) On Fri, 3 Feb 2023 at 15:07, Marco Gaiarin <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 > 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