mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Fix up the test for some of the quirkier hosts on the farm, and enable one
previously disabled sub-test.
(This used to be commit 4df974527c
)
This commit is contained in:
parent
a88ed5d1be
commit
5377944635
@ -23,6 +23,4 @@ security="hostsequiv"
|
||||
(test_smb_conf_setup ) || exit 1
|
||||
|
||||
(test_listfilesauth $security) || exit 1
|
||||
# (test_listfilesrootnpw $security) || exit 1
|
||||
# Unfortuetly we map to guest, and this is allowed access due to a BUG. This
|
||||
# test disabled till we fix it.
|
||||
(test_listfilesrootnpw $security) || exit 1
|
||||
|
@ -20,7 +20,8 @@ test_smb_conf_setup() {
|
||||
echo "127.0.0.6 DOMAIN">>$prefix/lib/lmhosts
|
||||
echo "127.0.0.7 HOSTSEQUIV">>$prefix/lib/lmhosts
|
||||
|
||||
echo "localhost" > $prefix/lib/hosts.equiv
|
||||
echo $host > $prefix/lib/hosts.equiv
|
||||
echo "localhost" >> $prefix/lib/hosts.equiv
|
||||
|
||||
cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share
|
||||
cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user
|
||||
@ -86,4 +87,4 @@ test_listfilesauth_should_deny() {
|
||||
echo "listing files with smbd failed with status $status (correct)"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user