Bug 27121 - 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
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-2
Assigned To: Stefan Gohmann
Arvid Requate
: interim-3
Depends on: 26975
Blocks: 27194
  Show dependency treegraph
 
Reported: 2012-05-15 08:28 CEST by Stefan Gohmann
Modified: 2012-07-20 15:24 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 Stefan Gohmann univentionstaff 2012-05-15 08:28:50 CEST
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-15 08:37:03 CEST
Wurde auch für Samba 4 behoben.
Comment 2 Arvid Requate univentionstaff 2012-07-11 17:09:53 CEST
Verified:
 * Patch aus Bug 26975 ist übernommen
 * Funktion OK
 * Changelog OK
Comment 3 Stefan Gohmann univentionstaff 2012-07-20 15:24:48 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".