Bug 27194 - Traceback beim Editieren einer Dateifreigabe mit einem recycle-VFS-Objekt
Traceback beim Editieren einer Dateifreigabe mit einem recycle-VFS-Objekt
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Samba
UCS@school 3.0
Other Linux
: P5 normal (vote)
: UCS@school 3.0 MS2
Assigned To: Stefan Gohmann
Felix Botner
:
Depends on: 27121
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-21 11:38 CEST by Arvid Requate
Modified: 2012-06-11 06:29 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2012-05-21 11:38:33 CEST
Der Bugfix sollte auch nach UCS@school gemerged werden.

+++ This bug was initially created as a clone of Bug #27121 +++

Der Bug muss für Samba 4 auch behoben werden.

+++ This bug was initially created as a clone of Bug #26975 +++

Created an attachment (id=4350)
Patch behebt das Problem bei der Verarbeitung von zusätzlichen VFS-Objekten

Editiert man eine Dateifreigabe mit dem VFS-Attribut recycle, so tritt
folgender Traceback auf und die Dateifreigabedatei unter
/etc/samba/shares.conf.d wird leer angelegt!

Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/samba-shares.py", line
174, in handler
    print >>fp, 'vfs objects = %s' % ' '.join(vfs_objects)
TypeError: sequence item 1: expected string, list found

Der angehängte Patch behebt das Problem.
Comment 1 Stefan Gohmann univentionstaff 2012-05-21 12:01:29 CEST
Patch wurde zurückportiert.
Comment 2 Felix Botner univentionstaff 2012-05-24 11:43:01 CEST
Samba 4 OK

Samba 3 OK
Comment 3 Stefan Gohmann univentionstaff 2012-06-11 06:29:53 CEST
UCS@school 3.0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer  neueren Version von UCS@school erneut auftreten, so sollte dieser Bug dupliziert werden: "Clone This Bug"