I have a problem starting bconsole. Logged in as root I am getting:
# bconsole
Connecting to Director i7:9101
Authorization problem with Director at "i7:9101"
Most likely the passwords do not agree.
If you are using TLS, there may have been a certificate validation error during the TLS handshake.
Please see http://doc.bareos.org/master/html/bareos-manual-main-reference.html#AuthorizationErrors for help.
and in /var/log/bareos/bareos.log:
28-Nov 18:03 i7-dir JobId 0: Security violation: bnet_server_tcp.c:330 Connection from 192.168.0.1:50115 refused by hosts.access
Next attempts give different ports in the log:
28-Nov 18:03 i7-dir JobId 0: Security violation: bnet_server_tcp.c:330 Connection from 192.168.0.1:50117 refused by hosts.access
28-Nov 18:04 i7-dir JobId 0: Security violation: bnet_server_tcp.c:330 Connection from 192.168.0.1:50118 refused by hosts.access
28-Nov 18:04 i7-dir JobId 0: Security violation: bnet_server_tcp.c:330 Connection from 192.168.0.1:50119 refused by hosts.access
I looked at the documentation but it doesn't seem to give an answer to this. All my passwords are ok and even testing with the default .conf files which are created automatically with installation, the situation is the same. I am not using any TLS (as far as I am aware?)
I tried stopping the firewall - nothing changed. Actually I am logged on the machine on which I am testing.
I am using openSUSE Leap 42.1 and Bareos installed and updated from the Bareos repo.
How can I fix this?
servername-dir : localhost, LOCAL, 127.0.0.1, 192.168.0.0/255.255.255.0, [::1] : ALLOW
Do I also need to add lines like:
servername-fd : ...
servername-sd : ...
in the hosts.allow for each file/storage daemon on the LAN to make it possible for all daemons to communicate with each other OR is that necessary only for the director?
Also do I need to add such lines on each separate machine running a file daemon? This is the first time I am using a tcpwrapper program.