Univention Bugzilla – Bug 28722
univention.lib.share_restrictions schreibt keine samba/global/options
Last modified: 2014-01-29 11:22:00 CET
In UCS 3.0-2 habe ich versucht per root@ucs:~# ucr set samba/global/options/"netbios aliases"=XYZ Setting samba/global/options/netbios aliases Script: /etc/univention/templates/scripts/samba.local.config.py Multifile: /etc/samba/smb.conf eine Samba-Option über /etc/samba/local.config.conf und /etc/samba/local.config.d/global.local.config.conf einzubinden. Das schlägt fehl, weil das Modul univention.lib.share_restrictions die UCR-Variablen zwar erkennt, aber dann ein leeres/falsches Dictionary verwendet.
Created attachment 4700 [details] share_restrictions.patch
Variable angefragt an Ticket #2013093021002201. Verhalten kann ich auch unter 3.1-1 beobachten.
Please apply the patch. I think a simple test case for ucs-test would be nice.
Fixed. Setting the UCR vairable now commits /etc/samba/local.config.d/global.local.config.conf and testparm show that it gets included. Advisory: 2014-01-22-univention-samba.yaml
(In reply to Arvid Requate from comment #4) > Fixed. Setting the UCR vairable now commits > /etc/samba/local.config.d/global.local.config.conf > and testparm show that it gets included. OK, I've added a test case for this: 53_samba-common/60_local_config Code: OK YAML: OK
http://errata.univention.de/ucs/3.2/44.html