View Issue Details

IDProjectCategoryView StatusLast Update
0001274bareos-coredirectorpublic2020-10-09 17:15
Reporterrtenvobobo Assigned To 
Status newResolutionopen 
Platform64OSUbuntuOS Version18.04
Summary0001274: cram-auth failed with bareos-dir
Description19.2.7 bareos version

I added client:

*configure add client name=awx-new address= password=7YeQSZc7QCXtRuut


Exported resource file "/etc/bareos/bareos-dir-export/client/awx-new/bareos-fd.d/director/bareos-dir.conf":
Director {
  Name = bareos-dir
  Password = "[md5]77264dc0c65edf7fc6a1f009a7b3478e"
Created resource config file "/etc/bareos/bareos-dir.d/client/awx-new.conf":
Client {
  Name = awx-new
  Address =
  Password = 7YeQSZc7QCXtRuut

I added bareos-dir to client machine

# cat /etc/bareos/bareos-fd.d/director/bareos-dir.conf
Director {
  Name = bareos-dir
  Password = "[md5]77264dc0c65edf7fc6a1f009a7b3478e"
  Address = bareos
  Connection from Director To Client = no
  Connection from Client To Director = yes
  TLS Enable = no
  TLS Require = no

But this does not work. Auth fails

Debug mode:

bareos-fd -v -f -d 100

awx-fd (10): filed/ filed: listening on port 9102
awx-fd (100): lib/ Addresses host[ipv4;;9102]
awx-fd (100): lib/ Construct JobControlRecord
awx-fd (100): lib/ Construct BareosSocket
awx-fd (100): lib/ All source addresses
awx-fd (100): lib/ Current host[ipv4;;9101] All host[ipv4;;9101]
awx-fd (100): lib/ who=bareos-dir host=bareos port=9101
awx-fd (10): filed/ Opened connection with Director bareos-dir
awx-fd (50): lib/ cram-auth failed with bareos-dir
awx-fd (100): lib/ Destruct BareosSocket
awx-fd (10): filed/ ERROR: Failed to connect to Director "bareos-dir". Retry in 60s.

What i am doing wrong? I followed documenation
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




2020-10-07 19:35

reporter   ~0004047

Last edited: 2020-10-07 21:05

this happens only with client initiate mode (usual from directory to client other servers works)



2020-10-09 17:14

reporter   ~0004048

Last edited: 2020-10-09 17:15

I have set it on client conf at bareos server as well

# cat /etc/bareos/bareos-dir.d/client/awx-new.conf

Client {
  Name = awx-new
  Address =
  Password = 7YeQSZc7QCXtRuut
  Connection from Director To Client = no
  HeartbeatInterval = 60
  Connection from Client To Director = yes

Issue History

Date Modified Username Field Change
2020-10-07 19:00 rtenvobobo New Issue
2020-10-07 19:35 rtenvobobo Note Added: 0004047
2020-10-07 19:36 rtenvobobo Note Edited: 0004047
2020-10-07 21:05 rtenvobobo Note Edited: 0004047
2020-10-09 17:14 rtenvobobo Note Added: 0004048
2020-10-09 17:15 rtenvobobo Note Edited: 0004048