Univention Bugzilla – Bug 31921
Duplicate UCR variable samba/max[/_]protocol
Last modified: 2013-11-19 06:42:16 CET
There are two similar UCR variables: samba/max/protocol samba/max_protocol The both get exported to samba_max_protocol by "ucr shell", which results in errors in ucs-test/updater. $ cd ~/GIT/branches/ucs-3.2/ucs-3.2-0/services $ git grep -n samba.max.protocol univention-samba/conffiles/etc/samba/smb.conf.d/01univention-samba_main:22: ('samba/max_protocol', 'max protocol'), univention-samba/conffiles/etc/samba/smb.conf.d/61univention-samba_misc:20:if configRegistry.get('samba/max/protocol'): univention-samba/conffiles/etc/samba/smb.conf.d/61univention-samba_misc:21: print '\tmax protocol = %s' % configRegistry.get('samba/max/protocol') univention-samba/debian/changelog:272: * New UCR variable samba/max_protocol univention-samba/debian/univention-samba.univention-config-registry:27:Variables: samba/max_protocol univention-samba/debian/univention-samba.univention-config-registry-variables:367:[samba/max/protocol] univention-samba/debian/univention-samba.univention-config-registry-variables:433:[samba/max_protocol] univention-samba4/samba3upgrade/smb.conf.d/61univention-samba_misc:20:if configRegistry.get('samba/max/protocol'): univention-samba4/samba3upgrade/smb.conf.d/61univention-samba_misc:21: print '\tmax protocol = %s' % configRegistry.get('samba/max/protocol') One of them should be deprecated and removed.
See also Bug #31143.
Just checked, samba/max/protocol is the one that works. The other one does not get translated into smb.conf.
*** Bug 31143 has been marked as a duplicate of this bug. ***
Fixed.
Code / Test: OK Changelog: OK
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".