1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/testsuite/build_farm/basicsmb-sharesec.test
Andrew Bartlett 19fdc553d6 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
0001-01-01 00:00:00 +00:00

10 lines
198 B
Plaintext

. 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