s3:tests: Fix authentication with smbget_user in smbget tests
authorAndreas Schneider <asn@samba.org>
Thu, 7 Dec 2023 08:18:26 +0000 (09:18 +0100)
committerJule Anger <janger@samba.org>
Tue, 12 Dec 2023 09:02:18 +0000 (09:02 +0000)
commit7998197398ab7e07485217a9e3895f6da4262c01
tree761c1a86833d8306dfb03cde5de9eaf021fe8dfa
parent63969fe9ade06d0cd878a6e01fc1a41d0c88f988
s3:tests: Fix authentication with smbget_user in smbget tests

Currently the smget share is broken. We set `guest ok = yes` so if you
specify invalid names, the authentication will still succeed as we
are mapped to guest.

The smbget_user is a local ad_member user. We need to set the
workstation as the "domain" for the user.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit c14c5dec09fe1c86b29b3091ad521e73a2e1c3e9)
source3/script/tests/test_smbget.sh