diff --git a/univention/templates/files/etc/samba/smb.conf.d/61univention-samba_misc b/univention/templates/files/etc/samba/smb.conf.d/61univention-samba_misc index 4f4c891..ad7d08c 100644 --- a/univention/templates/files/etc/samba/smb.conf.d/61univention-samba_misc +++ b/univention/templates/files/etc/samba/smb.conf.d/61univention-samba_misc @@ -26,6 +26,9 @@ if configRegistry.get('samba4/service/smb', 'smbd') in ('smbd', 's3fs'): print '\tstore dos attributes = %s' % configRegistry.get('samba/store_dos_attributes', 'yes') + if configRegistry.get('samba/min/protocol'): + print '\tmax protocol = %s' % configRegistry.get('samba/min/protocol') + if configRegistry.get('samba/max/protocol'): print '\tmax protocol = %s' % configRegistry.get('samba/max/protocol') diff --git a/univention/registry.info/variables/univention-samba4.cfg b/univention/registry.info/variables/univention-samba4.cfg index ec7224c..b9e0ec9 100644 --- a/univention/registry.info/variables/univention-samba4.cfg +++ b/univention/registry.info/variables/univention-samba4.cfg @@ -330,6 +330,12 @@ Type=bool Categories=service-samba ReadOnly=yes +[samba/min/protocol] +Description[de]=Diese Variable konfiguriert die älteste Protokollversion, welche dieser SMB-Server unterstützt (gültige Werte sind in "man smb.conf" dokumentiert). Ist die Variable nicht gesetzt, so gilt der Standardwert, der in der Manual-Seite zu smb.conf dokumentiert ist. +Description[en]=This variable configures the highest protocol level that will be supported by this SMB server (valid values may be found in "man smb.conf"). If the variable is unset, the default given in the smb.conf manual page applies. +Type=str +Categories=service-samba + [samba/max/protocol] Description[de]=Diese Variable konfiguriert das höchste Protokoll, welches dieser Server unterstützt (gültige Werte sind in "man smb.conf" dokumentiert). Ist die Variable nicht gesetzt, so gilt der Standardwert, der in der Manual-Seite zu smb.conf dokumentiert ist. Description[en]=This variable configures the highest protocol level that will be supported by this server (valid values may be found in "man smb.conf"). If the variable is unset, the default given in the smb.conf manual page applies.