CVE-2022-32743 tests/py_credentials: Add tests for setting dNSHostName with LogonGetD...
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 7 Jun 2022 05:35:35 +0000 (17:35 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 28 Jul 2022 22:47:37 +0000 (22:47 +0000)
commitb41691d0e546795bda994d94091b8e0a03ab96d6
treec7329e8e2486aec09f5ebf7a3689f6731e5c7edd
parentd277700710dc118f61065ed9e16e08e76820b66a
CVE-2022-32743 tests/py_credentials: Add tests for setting dNSHostName with LogonGetDomainInfo()

Test that the value is properly validated, and that it can be set
regardless of rights on the account.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/py_credentials.py
selftest/knownfail.d/netlogon-dns-host-name [new file with mode: 0644]