]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2020-25717: s3:torture: start with authoritative = 1
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Oct 2021 15:42:41 +0000 (17:42 +0200)
committerJule Anger <janger@samba.org>
Tue, 9 Nov 2021 19:45:32 +0000 (19:45 +0000)
This is not strictly needed, but makes it easier to audit
that we don't miss important places.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/torture/pdbtest.c

index 146320ff45350544e4728e085c1cceedadedaa47..67a1aa0b2d59120a85983ae86b0df9c823a855ea 100644 (file)
@@ -277,7 +277,7 @@ static bool test_auth(TALLOC_CTX *mem_ctx, struct samu *pdb_entry)
        struct netr_SamInfo6 *info6_wbc = NULL;
        NTSTATUS status;
        bool ok;
-       uint8_t authoritative = 0;
+       uint8_t authoritative = 1;
        int rc;
 
        rc = SMBOWFencrypt(pdb_get_nt_passwd(pdb_entry), challenge_8,