CVE-2020-25717: selftest: Add ad_member_no_nss_wb environment
authorSamuel Cabrero <scabrero@samba.org>
Tue, 5 Oct 2021 10:31:29 +0000 (12:31 +0200)
committerJule Anger <janger@samba.org>
Tue, 9 Nov 2021 19:45:33 +0000 (19:45 +0000)
commit6771b2f211f6f5ae08d94a75afb7c6109f65497d
treeaf403648e61eedc4ecf60b9d64beafb183a4660c
parentb39b698cdac9ef97d018d6f02d59493ec5bff6e6
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>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba.pm
selftest/target/Samba3.pm