1
0
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:
Andrew Bartlett 2001-09-20 08:28:41 +00:00
parent a88ed5d1be
commit 5377944635
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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
}
}