CVE-2020-25722 selftest: Ensure check for duplicate servicePrincipalNames is not...
commit5f4634310196c6b2c8b097ad41f949a0cccf0ec6
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 2 Nov 2021 08:00:00 +0000 (2 21:00 +1300)
committerJule Anger <janger@samba.org>
Tue, 9 Nov 2021 19:45:34 +0000 (9 19:45 +0000)
tree5dcd7bce6a84615211d8d1b8ce7f4732efb5a5ae
parentae47a7307766014e637e4a539c96316cf0f09108
CVE-2020-25722 selftest: Ensure check for duplicate servicePrincipalNames is not bypassed for an add operation

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

If one of the objectClass checks passed, samldb_add() could return
through one of the samldb_fill_*() functions and skip the
servicePrincipalName uniqueness checking.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
selftest/knownfail.d/spn_uniqueness [deleted file]
source4/dsdb/samdb/ldb_modules/samldb.c