View Issue Details

IDProjectCategoryView StatusLast Update
0001104bareos-corefile daemonpublic2023-08-02 19:09
Reporterisi Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
PlatformLinuxOSDebianOS Version10
Product Version18.2.5 
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.

Activities

arogge

arogge

2019-07-24 10:56

manager   ~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.
bruno-at-bareos

bruno-at-bareos

2023-08-02 19:09

manager   ~0005310

Shouldn't be anymore a problem with 22x version. Please be notice that this plugin portage to python3 will occur soon.

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
2023-08-02 19:09 bruno-at-bareos Assigned To => bruno-at-bareos
2023-08-02 19:09 bruno-at-bareos Status new => closed
2023-08-02 19:09 bruno-at-bareos Resolution open => fixed
2023-08-02 19:09 bruno-at-bareos Note Added: 0005310