webui 21.0.0 unable to auth

132 views
Skip to first unread message

fel...@gmail.com

unread,
Mar 1, 2022, 9:53:55 AM3/1/22
to bareos-users
Hi,

after upgrading from BareOS 20 to 21.0.0 on FreeBSD the bareos-webui stopped working. I get the following error every time I try to log in:

Sorry, cannot authenticate. Wrong username, password or SSL/TLS handshake failed.

The config is unchanged and it was working fine with v20. TLS is disabled for the console of course.

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

Director:

Connecting to Director xxx-dir:9101
 Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
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]xxxxxd1xxxde45xxxxxxfbb610c6e3a2"
  Profile = "webui-admin"
  TlsEnable = No
}

Director's debug log:

xxx-dir (100): lib/bsock.cc:84-0 Construct BareosSocket
xxx-dir (800): lib/thread_list.cc:243-0 Run WorkerThread successfully.
xxx-dir (100): lib/try_tls_handshake_as_a_server.cc:47-0 Error occured when trying to peek cleartext hello
xxx-dir (100): lib/bsock.cc:136-0 Destruct BareosSocket
xxx-dir (800): lib/thread_list.cc:207-0 Finished WorkerThread.

Best regards,
Felician

fel...@gmail.com

unread,
Mar 2, 2022, 11:32:31 AM3/2/22
to bareos-users
Just a heads up, the FreeBSD port is broken. In /usr/local/www/bareos/version.php the $bareos_full_version variable is empty.If i set the correct version (21.0.0) it works.

Frank Bergkemper

unread,
Mar 2, 2022, 11:46:31 AM3/2/22
to bareos...@googlegroups.com
FYI:

We provide FreeBSD packages you might want to use instead, see
http://download.bareos.org/bareos/release/21/ .

Regards,
Frank
OpenPGP_0xF0263653F8A2CD45.asc
OpenPGP_signature
Reply all
Reply to author
Forward
0 new messages