--- debian/postinst (Revision 28202) +++ debian/postinst (Arbeitskopie) @@ -110,6 +110,7 @@ samba/read_raw?yes \ samba/write_raw?yes \ samba/max_xmit?65535 \ + samba/max_open_files?32808 \ samba/getwd_cache?yes \ samba/store_dos_attributes?yes \ samba/preserve_case?yes \ --- debian/univention-samba.univention-config-registry (Revision 28202) +++ debian/univention-samba.univention-config-registry (Arbeitskopie) @@ -22,6 +22,7 @@ Variables: samba/charset.* Variables: samba/enable-privileges Variables: samba/socket_options +Variables: samba/max_open_files Type: subfile Multifile: etc/samba/smb.conf --- debian/univention-samba.univention-config-registry-variables (Revision 28202) +++ debian/univention-samba.univention-config-registry-variables (Arbeitskopie) @@ -136,6 +136,12 @@ Type=str Categories=service-samba +[samba/max_open_files] +Description[de]=Maximal geöffnete Dateien +Description[en]=Maximum open files +Type=str +Categories=service-samba + [samba/netbios/aliases] Description[de]=Zusätzliche NetBIOS-Namen für den Samba-Server Description[en]=Additional NetBIOS names under which the Samba server is known --- conffiles/etc/samba/smb.conf.d/01univention-samba_main (Revision 28202) +++ conffiles/etc/samba/smb.conf.d/01univention-samba_main (Arbeitskopie) @@ -7,6 +7,8 @@ max log size = 1000000 @!@ +if configRegistry.has_key('samba/max_open_files') and configRegistry['samba/max_open_files']: + print '\tmax open files %i' % configRegistriy['samba/max_open_files'] if configRegistry.has_key('samba/serverstring') and configRegistry['samba/serverstring']: print '\tserver string = %s' % configRegistry['samba/serverstring'] else: