View Issue Details

IDProjectCategoryView StatusLast Update
0000597bareos-corewebuipublic2017-06-08 16:30
ReporterRaffael Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSDebianOS Version8
Product Version15.2.2 
Summary0000597: Python LDAP Plugin Fileset not visible in restore
DescriptionThe Fileset of the Pyhton LDAP Plugin is not visible in the restore section of the webui. Therefore, a restore using the webui is not possible.

Maybe it is a problem of the @-sign at the beginning?
Steps To Reproduce1. Backup LDAP using the Pyhton LDAP Plugin
2. Open WebUI go to 'Restore'
3. Select Host and LDAP Restore job
TagsNo tags attached.

Activities

frank

frank

2016-01-26 18:39

developer   ~0002165

I was able to reproduce the issue.
frank

frank

2016-01-27 15:14

developer   ~0002166

Last edited: 2016-01-27 15:15

> Maybe it is a problem of the @-sign at the beginning?

Right, looks like the @ is the show stopper.

bvfs_lsdirs should deliver @LDAP/ if path argument is left empty like it's giving a / for *nix and all drives for windows clients on top level.

It currently only works if path argument get's an @, like:

*.bvfs_lsdirs jobid=684,691 path=@
282 0 0 0 A A A A A A A A A A A A A A .
282 0 0 0 A A A A A A A A A A A A A A ..
281 0 0 0 A A A A A A A A A A A A A A @LDAP/
282 0 0 0 A A A A A A A A A A A A A A @


This needs a fix.

rainer

rainer

2016-06-07 11:47

reporter   ~0002288

Last edited: 2016-06-07 11:56

I can confirm this behaviour. Backup works perfektly, but LDAP Entries are not visible in the restore section of the webui. In the console the files are visible ( list files jobid=XX ), filename starts with "@LDAP/dn=net..."

(Server Ubuntu-16.04, dir Version: 16.2.2 (01 May 2016)).

frank

frank

2016-06-07 16:44

developer   ~0002289

Made a trivial patch in webui as a workaround in master branch, upcoming 16.2, which will be public available this friday on GitHub, please verify if it solves the issue.
frank

frank

2016-06-10 14:59

developer   ~0002290

Fix committed to bareos-webui master branch with changesetid 6353.

Related Changesets

bareos-webui: master 6c1429d4

2016-06-07 22:42

frank

Ported: N/A

Details Diff
Fixes LDAP Fileset browsing in restore filetree

This is a workaround which should fix the following bug reported.

bvfs_lsdirs should deliver @LDAP/ if path argument is left empty like it's
giving a / for *nix and all drives for windows clients on top level.

It currently only works if path argument get's an @, like:

*.bvfs_lsdirs jobid=684,691 path=@
282 0 0 0 A A A A A A A A A A A A A A .
282 0 0 0 A A A A A A A A A A A A A A ..
281 0 0 0 A A A A A A A A A A A A A A @LDAP/
282 0 0 0 A A A A A A A A A A A A A A @

Fixes 0000597: Python LDAP Plugin Fileset not visible in restore
Affected Issues
0000597
mod - module/Restore/src/Restore/Model/RestoreModel.php Diff File

Issue History

Date Modified Username Field Change
2016-01-14 14:26 Raffael New Issue
2016-01-14 14:26 Raffael Status new => assigned
2016-01-14 14:26 Raffael Assigned To => frank
2016-01-14 21:39 mvwieringen Assigned To frank =>
2016-01-14 21:39 mvwieringen Status assigned => new
2016-01-26 18:39 frank Note Added: 0002165
2016-01-26 18:39 frank Assigned To => frank
2016-01-26 18:39 frank Status new => confirmed
2016-01-27 15:14 frank Note Added: 0002166
2016-01-27 15:15 frank Note Edited: 0002166
2016-06-07 11:47 rainer Note Added: 0002288
2016-06-07 11:55 rainer Note Edited: 0002288
2016-06-07 11:56 rainer Note Edited: 0002288
2016-06-07 16:44 frank Note Added: 0002289
2016-06-07 16:49 frank Status confirmed => feedback
2016-06-10 14:59 frank Changeset attached => bareos-webui master 6c1429d4
2016-06-10 14:59 frank Note Added: 0002290
2016-06-10 14:59 frank Status feedback => resolved
2016-06-10 14:59 frank Resolution open => fixed
2017-06-08 16:30 frank Status resolved => closed
2017-06-08 16:30 frank Assigned To frank =>