blob: bc87723700f748e89af783d950ffe0033c4f3bcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
. basicsmb.fns
password=samba
(test_smb_conf_setup && test_smbpasswd $password ) || exit 1
rm -f $prefix/testdir/preexec_touch
mode=PREEXEC
(test_listfilesauth $mode) || exit 1
if [ -f $prefix/testdir/preexec_touch ]; then
rm -f $prefix/testdir/preexec_touch
else
exit 1;
fi
mode=PREEXEC_close
(test_listfilesauth $mode) || exit 1
if [ -f $prefix/testdir/preexec_touch ]; then
rm -f $prefix/testdir/preexec_touch
else
exit 1;
fi
mode=PREEXEC_cl_fail
(test_listfilesauth_should_deny $mode) || exit 1
|