1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

selftest: Add 'hide new files timeout' related data to fileserver_smb1

In order to support samba3.smbtorture_s3.hidenewfiles (and moving
the test to fileserver_smb1) we need to ensure we have some supporting
config

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Noel Power 2019-12-16 16:20:07 +00:00 committed by Ralph Boehme
parent 9161cf7495
commit f7456c8be9

View File

@ -1460,10 +1460,15 @@ sub setup_fileserver
sub setup_fileserver_smb1
{
my ($self, $path) = @_;
my $prefix_abs = abs_path($path);
my $conf = "
[global]
client min protocol = CORE
server min protocol = LANMAN1
[hidenewfiles]
path = $prefix_abs/share
hide new files timeout = 5
";
return $self->setup_fileserver($path, $conf, "FILESERVERSMB1");
}