summaryrefslogtreecommitdiff
path: root/testsuite/build_farm/basicsmb-sharesec.test
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-06-27 13:58:58 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-06-27 13:58:58 +0000
commitdc346a5c6d6b071a67397150f72a530515b5cf53 (patch)
tree615e95f56f36bdbf2c5ef2ce523b2fad6cbfdf73 /testsuite/build_farm/basicsmb-sharesec.test
parent5ac133bac731e3f014df35126dd5ecb87837b8a6 (diff)
downloadsamba-dc346a5c6d6b071a67397150f72a530515b5cf53.tar.gz
samba-dc346a5c6d6b071a67397150f72a530515b5cf53.tar.bz2
samba-dc346a5c6d6b071a67397150f72a530515b5cf53.zip
Jigger around with the tests a bit more
We now test security=share, security=user, security=server for both the positive and negitive case (good/bad pw) and check that guest shares work for share level security. The server level security stuff seems to test positive without actualy contating a server (another LIBSMB_PROG based smbd) - I will need to look into that... Andrew Bartlett (This used to be commit 19fdc553d6ab06e53c21425468f86da56f4d9153)
Diffstat (limited to 'testsuite/build_farm/basicsmb-sharesec.test')
-rw-r--r--testsuite/build_farm/basicsmb-sharesec.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/build_farm/basicsmb-sharesec.test b/testsuite/build_farm/basicsmb-sharesec.test
new file mode 100644
index 0000000000..edef6a9123
--- /dev/null
+++ b/testsuite/build_farm/basicsmb-sharesec.test
@@ -0,0 +1,9 @@
+. basicsmb.fns
+
+password="samba"
+security="SHARE"
+(test_smb_conf_setup && ( test_smbpasswd $password ) ) || exit 1
+
+(test_listfilesauth $security) || exit 1
+(test_listfilesnpw $security) || exit 1
+