"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "selftest/target/Samba3.pm" between
samba-4.12.3.tar.gz and samba-4.12.5.tar.gz

About: Samba is the standard Windows interoperability suite of programs for Linux and Unix providing secure, stable and fast file and print services for all clients using the SMB/CIFS protocol. 4.12 series.

Samba3.pm  (samba-4.12.3):Samba3.pm  (samba-4.12.5)
skipping to change at line 962 skipping to change at line 962
my $smbget_sharedir="$share_dir/smbget"; my $smbget_sharedir="$share_dir/smbget";
push(@dirs,$smbget_sharedir); push(@dirs,$smbget_sharedir);
my $tarmode_sharedir="$share_dir/tarmode"; my $tarmode_sharedir="$share_dir/tarmode";
push(@dirs,$tarmode_sharedir); push(@dirs,$tarmode_sharedir);
my $usershare_sharedir="$share_dir/usershares"; my $usershare_sharedir="$share_dir/usershares";
push(@dirs,$usershare_sharedir); push(@dirs,$usershare_sharedir);
my $bad_iconv_sharedir="$share_dir/bad_iconv";
push(@dirs, $bad_iconv_sharedir);
my $fileserver_options = " my $fileserver_options = "
kernel change notify = yes kernel change notify = yes
rpc_server:mdssvc = embedded rpc_server:mdssvc = embedded
spotlight backend = elasticsearch spotlight backend = elasticsearch
elasticsearch:address = 127.0.0.35 elasticsearch:address = 127.0.0.35
elasticsearch:port = 8080 elasticsearch:port = 8080
elasticsearch:mappings = $srcdir_abs/source3/rpc_server/mdssvc/elasticsea rch_mappings.json elasticsearch:mappings = $srcdir_abs/source3/rpc_server/mdssvc/elasticsea rch_mappings.json
usershare path = $usershare_dir usershare path = $usershare_dir
usershare max shares = 10 usershare max shares = 10
skipping to change at line 1042 skipping to change at line 1045
[inherit_owner_u] [inherit_owner_u]
path = $share_dir path = $share_dir
comment = inherit only unix owner comment = inherit only unix owner
inherit owner = unix only inherit owner = unix only
acl_xattr:ignore system acls = yes acl_xattr:ignore system acls = yes
# BUG: https://bugzilla.samba.org/show_bug.cgi?id=13690 # BUG: https://bugzilla.samba.org/show_bug.cgi?id=13690
[force_group_test] [force_group_test]
path = $share_dir path = $share_dir
comment = force group test comment = force group test
# force group = everyone # force group = everyone
[bad_iconv]
path = $bad_iconv_sharedir
comment = smb username is [%U]
vfs objects =
[homes] [homes]
comment = Home directories comment = Home directories
browseable = No browseable = No
read only = No read only = No
"; ";
my $vars = $self->provision($path, "WORKGROUP", my $vars = $self->provision($path, "WORKGROUP",
"FILESERVER", "FILESERVER",
"fileserver", "fileserver",
$fileserver_options, $fileserver_options,
skipping to change at line 1109 skipping to change at line 1118
## create a listable file in valid_users_share ## create a listable file in valid_users_share
## ##
my $valid_users_target = "$valid_users_sharedir/foo"; my $valid_users_target = "$valid_users_sharedir/foo";
unless (open(VALID_USERS_TARGET, ">$valid_users_target")) { unless (open(VALID_USERS_TARGET, ">$valid_users_target")) {
warn("Unable to open $valid_users_target"); warn("Unable to open $valid_users_target");
return undef; return undef;
} }
close(VALID_USERS_TARGET); close(VALID_USERS_TARGET);
chmod 0644, $valid_users_target; chmod 0644, $valid_users_target;
##
## create a valid utf8 filename which is invalid as a CP850 conversion
##
my $bad_iconv_target = "$bad_iconv_sharedir/\xED\x9F\xBF";
unless (open(BAD_ICONV_TARGET, ">$bad_iconv_target")) {
warn("Unable to open $bad_iconv_target");
return undef;
}
close(BAD_ICONV_TARGET);
chmod 0644, $bad_iconv_target;
return $vars; return $vars;
} }
sub setup_ktest sub setup_ktest
{ {
my ($self, $prefix) = @_; my ($self, $prefix) = @_;
# If we didn't build with ADS, pretend this env was never available # If we didn't build with ADS, pretend this env was never available
if (not $self->have_ads()) { if (not $self->have_ads()) {
return "UNKNOWN"; return "UNKNOWN";
 End of changes. 3 change blocks. 
0 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)