s3:tests: Fix authentication with smbget_user in smbget tests
commitc14c5dec09fe1c86b29b3091ad521e73a2e1c3e9
authorAndreas Schneider <asn@samba.org>
Thu, 7 Dec 2023 08:18:26 +0000 (7 09:18 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 10 Dec 2023 21:24:38 +0000 (10 21:24 +0000)
tree46784f241425ef29b1d3e3fd03c4aac057a8d841
parent646046cb5834f01108d36ad62e7930c1ff21c6e1
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>
source3/script/tests/test_smbget.sh