Hello!

I have problem with ldap-plugin. When I try to use it, I have following error:
14-Sep 12:24 ldap.alx JobId 1396: Fatal error: Plugin Directory not defined. 
Cannot use plugin:
+"python:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-ldap:uri=ldap\://ldap.alx:basedn=dc=example,dc=ru:bind_dn=cn=admin,dc=example,dc=ru:password=password"
14-Sep 12:24 ldap.alx JobId 1396: Fatal error: Failed to authenticate Storage 
daemon.
14-Sep 12:22 alx-msk-backup-01.alx JobId 1396: Fatal error: Bad response to 
Storage command: wanted 2000 OK storage

But I have defined "Plugin Directory" variable in bareos-fd.conf file:

# cat /etc/bareos/bareos-fd.conf 
FileDaemon {                          # definition of myself
  Name = alx-msk-backup-01
  Maximum Concurrent Jobs = 20
  Plugin Directory = /usr/lib64/bareos/plugins
  Plugin Names = "python"
}

Director {
  Name = alx-msk-backup-01.alx
  Password = "67Xa41k51erLEVGhQECJfnJHKjziEOl1/qaypyc3bQFP"
}

Messages {
  Name = Standard
  director = alx-msk-backup-01.alx = all, !skipped, !restored
}

In /etc/bareos/bareos-dir.conf:
Director {                            # define myself
  Name = alx-msk-backup-01.alx
  QueryFile = "/usr/lib/bareos/scripts/query.sql"
  Maximum Concurrent Jobs = 10
  Password = "b+uWgGf0fPnUazdzdChaLQx3ZeYRRdEQGSlK5awU0v+6"         # Console 
password
  Messages = Daemon
  Auditing = yes
  Plugin Directory = /usr/lib64/bareos/plugins
  Plugin Names = "python"
}

# cat /etc/bareos/bareos-dir.d/plugin-python-ldap.conf 
#
# to use the Bareos ldap plugin,
# include this configuration file in bareos-dir.conf by
# @/etc/bareos/bareos-dir.d/plugin-python-ldap.conf
# and adapt it to your requirements.
#

FileSet {
  Name = "plugin-ldap"
  Include {
    Options {
      signature = MD5
    }
    # adapt the LDAP settings to your environment.
    # uri and basedn are mandantory,
    # base_dn and password are optional.
    Plugin = 
"python:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-ldap:uri=ldap\\://ldap.alx:basedn=dc=example,dc=ru:bind_dn=cn=admin,dc=example,dc=ru:password=password"
  }
}
Of course loading plugin has been defined in my bareos-dir.conf file.
Where is my mistake?

-- 
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