s4:selftest: run test_trust_ntlm.sh against various environments
authorStefan Metzmacher <metze@samba.org>
Thu, 6 Apr 2017 17:44:16 +0000 (19:44 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 9 Apr 2017 23:11:20 +0000 (01:11 +0200)
commit3caca9b7fb61196c1f7285cd6be8a257b306ff67
tree967773531c6dc6af645c66c7cc08622bba62223a
parent2de1994e6f969973d3de2f2f39b52fbcec2e11c8
s4:selftest: run test_trust_ntlm.sh against various environments

This shows that NTLM authentication is currently completely broken
on an DCs of AD domains with trusts.

Currently we completely ignore the client provided domain
and try to authenticate against the username in our local sam.ldb.

If the same username/password combination exists in both domains,
the user of the trusted domain silenty impersonates the user
of the local domain.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/knownfail
source4/selftest/tests.py