Hello Marco, 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> Good luck. Best regards, Marcin Haba (gani) On Tue, 31 Jan 2023 at 22:43, Marco Gaiarin <g...@lilliput.linux.it> wrote: > > I've installed baculum using debian packages, all works as expected and > flawlessy. > > Now i've tried to add LDAP auth support, also successfuly: auth wprks, user > imported. > > But if i try to login, the HTTP 'basic auth' popup of the default user > 'admin' created in setup phase still want the 'admin' password. > > I've understood that (from docs): > > LDAP > The Baculum Web can connect to the LDAP server to authenticate LDAP > users. This method is realized by a HTML form in the Baculum Web. > Once this method is enabled, the web server basic authentication can be > disabled. > > > And i've on the apache virtualhost an entry like: > > # Apache 2.4 > <IfModule mod_authz_core.c> > <Directory /usr/share/baculum/htdocs> > 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> > </Directory> > </IfModule> > > I have to comment all the entry? Modify how? > > > Thanks. > > -- > STOP. I wanna go home > take off this uniform and leave the show (Pink Floyd) > > > > > _______________________________________________ > 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