Bacula bconsole - Director authorization fail (localhost)
<p><strong>Hi!</strong></p>

<p><strong>I have Ubuntu 16.04.1 LTS</strong> <br/>
And my bacula services:</p>

<pre><code>$ service --status-all | grep bacula
[ + ]  bacula-director
[ + ]  bacula-fd
[ + ]  bacula-sd
</code></pre>

<p><strong>Bacula release 5.2.6 (21 February 2012) -- ubuntu 14.04</strong> <br>
Bacula director cofig:</p>

<pre><code>Director {                            # define myself
  Name = ubuntu-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/etc/bacula/scripts/query.sql"
  WorkingDirectory = "/var/lib/bacula"
  PidDirectory = "/var/run/bacula"
  Maximum Concurrent Jobs = 10
  Password = "password-bacula-dir"         # Console password
  Messages = Daemon
  DirAddress = localhost
# DirAddresses = {
#   ip = { addr = 127.0.0.1; port = 9101; }
#   ip = { addr = 10.0.5.71; port = 9101; }
# }
}
</code></pre>

<p><strong>bconsole cofig:</strong></p>

<pre><code>Director {
  Name = ubuntu-dir
  DIRport = 9101
  address = localhost
  Password = "password-bacula-dir"
}
</code></pre>

<p>$ netstat -anp | grep LISTEN | grep bacula</p>

<pre><code>tcp        0      0 127.0.0.1:9101          0.0.0.0:*               LISTEN      5532/bacula-dir 
tcp        0      0 127.0.0.1:9102          0.0.0.0:*               LISTEN      1091/bacula-fd  
tcp        0      0 127.0.0.1:9103          0.0.0.0:*               LISTEN      1072/bacula-sd  
</code></pre>

<p>So, when i use </p>

<pre><code>$ bconsole
</code></pre>

<p>get error:</p>

<pre><code>Connecting to Director localhost:9101
Director authorization problem.
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://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00260000000000000000 for help.
</code></pre>

<p>where the error can be?</p>

<p>P.S. ufw is disabled</p>