View Issue Details

IDProjectCategoryView StatusLast Update
0001104bareos-core[All Projects] file daemonpublic2019-07-24 11:42
ReporterisiAssigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
PlatformLinuxOSDebianOS Version10
Product Version18.2.5 
Target VersionFixed in Version 
Summary0001104: LDAP Plugin gives error
DescriptionLDAP Backup gives following error:
  File "/usr/lib/bareos/plugins/BareosFdPluginLDAP.py", line 152, in plugin_io
    IOP.buf = bytearray(self.ldap.ldif)
TypeError: unicode argument without an encoding

/usr/lib/bareos/plugins/BareosFdPluginLDAP.py
Please change Line 152 from old:
IOP.buf = bytearray(self.ldap.ldif)

to new:

IOP.buf = bytearray((self.ldap.ldif), 'utf8')

Thanks
TagsNo tags attached.
bareos-master: impact
bareos-master: 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

Activities

arogge

arogge

2019-07-24 10:56

developer   ~0003521

If you have a patch, please see the developer-guide how to contribute:
https://docs.bareos.org/DeveloperGuide/generaldevel.html#patches

We will then decice whether or not we want to apply your proposed change to the codebase.
isi

isi

2019-07-24 11:42

reporter   ~0003522

Sorry I'm not a Developer and I'm unfortunately not used to GitHub.
Thats why I submitted this Bug Report.

Issue History

Date Modified Username Field Change
2019-07-24 06:54 isi New Issue
2019-07-24 10:56 arogge Status new => feedback
2019-07-24 10:56 arogge Note Added: 0003521
2019-07-24 11:42 isi Note Added: 0003522
2019-07-24 11:42 isi Status feedback => new