CVE-2020-25722 selftest: Ensure check for duplicate servicePrincipalNames is not...
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 2 Nov 2021 08:00:00 +0000 (21:00 +1300)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:13 +0000 (10:52 +0100)
commit3ed16e74292058d059ae951317ca8d3b7f1f5d0e
tree36ac88b5cec4f56758003aa3731b2a6e19ec9d7c
parent26a1bd5cc75ed237c99e147681bde5daae0e61fa
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