Hello my dears,

I get the following error when starting triggerjob.py:

# triggerjob.py --debug --password f5IHQS...G9I0yd1 bareos.intern.harnet.de
DEBUG triggerjob.<module>: address: bareos.intern.example.com
DEBUG triggerjob.<module>: port: 9101
DEBUG triggerjob.<module>: dirname: ""
DEBUG triggerjob.<module>: name: *UserAgent*
DEBUG triggerjob.<module>: options: {'port': 9101, 'name': '*UserAgent*', 
'address': 'bareos.intern.harnet.de'}
DEBUG lowlevel.__init__: init
DEBUG lowlevel.__connect_plain: connected to bareos.intern.example.com:9101
DEBUG lowlevel.__connect_tls_psk: identity = R_CONSOLE *UserAgent*, password = 
32989512074...8ae2f31a7b68a4
WARNING lowlevel.__connect: Failed to connect via TLS-PSK. Trying plain 
connection.
DEBUG lowlevel.__connect_plain: connected to bareos.intern.example.com:9101
DEBUG lowlevel.__connect: Encryption: None
DEBUG lowlevel.send: Hello *UserAgent* calling

DEBUG lowlevel.__get_header:   remaining header len: 4
DEBUG lowlevel.recv_submsg:   submsg len: 54
DEBUG lowlevel._cram_md5_respond: (recv): auth cram-md5 
<490489026.1550074092@bareos-dir> ssl=1

DEBUG lowlevel.send: D9/fID52q2+wKVsR1xgw/C
DEBUG lowlevel.__get_header:   remaining header len: 4
DEBUG lowlevel.recv_submsg:   submsg len: 27
ERROR lowlevel._cram_md5_respond: failed: 1999 Authorization failed.

Traceback (most recent call last):
  File "/usr/local/bin/triggerjob.py", line 66, in <module>
    director = bareos.bsock.DirectorConsoleJson(**parameter)
  File "/usr/lib/python2.7/dist-packages/bareos/bsock/directorconsolejson.py", 
line 15, in __init__
    super(DirectorConsoleJson, self).__init__(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bareos/bsock/directorconsole.py", line 
25, in __init__
    self.auth(name=name, password=password, auth_success_regex=b'^1000 OK.*$')
  File "/usr/lib/python2.7/dist-packages/bareos/bsock/lowlevel.py", line 162, 
in auth
    return self.__auth()
  File "/usr/lib/python2.7/dist-packages/bareos/bsock/lowlevel.py", line 172, 
in __auth
    raise AuthenticationError("failed (in response)")
bareos.exceptions.AuthenticationError: failed (in response)

I have installed the following:
# pip install sslpsk

Do I have to adjust a configuration?

Thank you in advance for your support and remain ...
Greetings from Stefan Harbich

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to