tests: add a test for guest authentication
authorRalph Boehme <slow@samba.org>
Thu, 16 May 2019 10:47:34 +0000 (12:47 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Jun 2019 15:40:24 +0000 (15:40 +0000)
commit0e88f98855e24cfddb55bef65c5910b8e662c630
tree2ded7f21a694e83d6425f2c4a8e6b0e64366bdb5
parentac2167eb2349dc1c453e14a65692f16c8ba6532e
tests: add a test for guest authentication

This verifies that smbd always adds BUILTIN\Guests to the guest token which is
required for guest authentication.

Currently the guest token depends on the on-disk configured group mappings. If
there's an existing group mapping for BUILTIN\Guests, but LOCALSAM\Guest is not
a member, the final guest token won't contain BUILTIN\Guests.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13944

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/knownfail.d/samba3.blackbox.guest [new file with mode: 0644]
source3/script/tests/test_guest_auth.sh [new file with mode: 0755]
source3/selftest/tests.py