CVE-2020-25717: selftest: Add ad_member_no_nss_wb environment
commit37c2f73cc958003fbba479d6d4d7c003f5d88fd6
authorSamuel Cabrero <scabrero@samba.org>
Tue, 5 Oct 2021 10:31:29 +0000 (5 12:31 +0200)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:10 +0000 (8 10:52 +0100)
treed12182dabb1296045200c6169f5fab2a14abb8e2
parentb9d8f8025b7122cab64c37e5042866c66b556016
CVE-2020-25717: selftest: Add ad_member_no_nss_wb environment

This environment creates an AD member that doesn't have
'nss_winbind' configured, while winbindd is still started.

For testing we map a DOMAIN\root user to the local root
account and unix token of the local root user.

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
[abartlet@samba.org backported to Samba 4.14 without offline
 tests in Samba3.pm]
selftest/target/Samba.pm
selftest/target/Samba3.pm