]> git.ipfire.org Git - thirdparty/samba.git/commit
tests: add a test for guest authentication
authorRalph Boehme <slow@samba.org>
Thu, 16 May 2019 10:47:34 +0000 (12:47 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 21 Jun 2019 06:49:29 +0000 (06:49 +0000)
commitb312ceb5730bf76a989d5b0a9744ebfdeca22e27
tree5c138e8eb2892744c9686a0b26dcf013950deecb
parentd8e33defa5a167d80dc304fffe860345b3a1aaa9
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>
(cherry picked from commit 0e88f98855e24cfddb55bef65c5910b8e662c630)
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