CVE-2020-25727: idmap_nss: verify that the name of the sid belongs to the configured...
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Nov 2021 14:27:58 +0000 (15:27 +0100)
committerRalph Boehme <slow@samba.org>
Mon, 15 Nov 2021 18:10:28 +0000 (18:10 +0000)
commitbfd093648b4af51d104096c0cb3535e8706671e5
tree2b448054930d9c70df912f8cab580a8c23a6b51c
parentc69b66f649c1d47a7367f7efe25b8df32369a3a5
CVE-2020-25727: idmap_nss: verify that the name of the sid belongs to the configured domain

We already check the sid belongs to the domain, but checking the name
too feels better and make it easier to understand.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/idmap_nss.c