CVE-2020-25717: selftest: turn ad_member_no_nss_wb into ad_member_idmap_nss
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 12 Nov 2021 01:20:45 +0000 (14:20 +1300)
committerRalph Boehme <slow@samba.org>
Mon, 15 Nov 2021 18:10:28 +0000 (18:10 +0000)
commit8a9f2aa2c1cdfa72ad50d7c4f879220fe37654cd
treee27223da31ff1b021e904bdd7a8580da31431a04
parentfdbee5e074ebd76d659613b8b7114d70f938c38a
CVE-2020-25717: selftest: turn ad_member_no_nss_wb into ad_member_idmap_nss

In reality environments without 'nss_winbind' make use of 'idmap_nss'.

For testing, DOMAIN/bob is mapped to the local 'bob',
while DOMAIN/jane gets the uid based on the local 'jane'
vis idmap_nss.

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

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
[metze@samba.org avoid to create a new ad_member_idmap_nss environment
and merge it with ad_member_no_nss_wb instead]
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/target/Samba.pm
selftest/target/Samba3.pm
source4/selftest/tests.py