Hello,

pon., 21 paź 2019 o 15:27 Kienzle, Jonathan-David <
jonathan-david.kien...@dm.de> napisał(a):

> Hello,
>
>
>
> I encountered a problem when trying to open bconsole:
>
>
>
>
>
> Running bconsole in debug mode has this output:
>
>
>
> Connecting to Director
> bacula-director-01.lxdev.ka.de.dm-drogeriemarkt.com:9101
>
> bconsole: cram-md5.c:166-0 Received bad response: 1999 Authorization
> failed.
>
> 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.
>
> For help, please see
> http://www.bacula.org/rel-manual/en/problems/Bacula_Frequently_Asked_Que.html
>
>
And what Director has to say about it in debug mode?


>
>
> And I get a bacula daemon message:
>
>
>
> 21-Oct 15:13 bacula-director-01-dir JobId 0: Security Alert:
> authenticate.c:452 Unable to authenticate console "*UserAgent*" at
> client:myip:53316.
>
>
>
> My passwords in the config-files are the same:
>
>
>
> Director {                            # define myself
>
>   Name = bacula-director-01.lxdev.ka.de.dm-drogeriemarkt.com-dir
>
>   DIRport = 9101                # where we listen for UA connections
>
>   QueryFile = "/usr/libexec/bacula//query.sql"
>
>   WorkingDirectory = "/var/spool/bacula/"
>
>   PidDirectory = "/var/run"
>
>   Maximum Concurrent Jobs = 20
>
>   Password = "WszPn130mxVAW/nKQDTi6Q"         # Console password
>
>   Messages = Daemon
>
> }
>
>
>
> *And*
>
>
>
> Director {
>
>   Name = bacula-director-01.lxdev.ka.de.dm-drogeriemarkt.com-dir
>
>   DIRport = 9101
>
>   address = bacula-director-01.lxdev.ka.de.dm-drogeriemarkt.com
>
>   Password = "WszPn130mxVAW/nKQDTi6Q"
>
> }
>
>
>
> And my ports:
>
>
>
> bacula-di  3341         bacula    4u  IPv4  30498      0t0  TCP *:9101
> (LISTEN)
>
> bacula-sd  3353         bacula    3u  IPv4  30626      0t0  TCP *:9103
> (LISTEN)
>
> bacula-fd  3364           root    3u  IPv4  30786      0t0  TCP *:9102
> (LISTEN)
>
>
>
>
>
> Everything seems right or have I overlooked something. I hope that
> somebody can help me? Thank you in advance.
>

Both Director->Name and Director->Password have to match for successful
authentication which seems is not a problem in your case. But to be sure
please restart the Director and especially check what config file it uses.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to