[Bug 262153] www/bareos-webui: 21.0.0 cannot authenticate

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Feb 2022 15:32:42 UTC

            Bug ID: 262153
           Summary: www/bareos-webui: 21.0.0 cannot authenticate
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: feldeci@gmail.com
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

After upgrading to 21.0.0 I always get the error: 'Sorry, cannot authenticate.
Wrong username, password or SSL/TLS handshake failed.' If I shut down the
director I get 'Error: Connection refused, director seems to be down or
blocking our request.' so the auth fails, the webui can communicate with the
dir. I'm using PHP 7.4.27.

I've tried the stock config with TLS Enable = no in dir's console.conf and TLS
disabled in webui's directors.ini:

tls_verify_peer = false
server_can_do_tls = false
server_requires_tls = false
client_can_do_tls = false
client_requires_tls = false

1000 OK: xxx-dir Version: 21.0.0 (21 December 2021)
self-compiled binary
self-compiled binaries are UNSUPPORTED by bareos.com.
Get official binaries and vendor support on https://www.bareos.com
You are connected using the default console

Enter a period (.) to cancel a command.
*show consoles
Console {
  Name = "admin"
  Password = "[md5]xxx"
  Profile = "webui-admin"
  TlsEnable = No

*show profiles
Profile {
  Name = "webui-admin"
  JobAcl = "*all*"
  ClientAcl = "*all*"
  StorageAcl = "*all*"
  ScheduleAcl = "*all*"
  PoolAcl = "*all*"
  CommandAcl = "!.bvfs_clear_cache", "!.exit", "!.sql", "!configure",
"!create", "!delete", "!purge", "!prune", "!sqlquery", "!umount", "!unmount",
  FileSetAcl = "*all*"
  CatalogAcl = "*all*"
  WhereAcl = "*all*"

You are receiving this mail because:
You are the assignee for the bug.