s4:torture/ldap: Add test for netlogon over tcp
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Mon, 28 Oct 2013 13:21:20 +0000 (14:21 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 29 Apr 2014 08:24:53 +0000 (10:24 +0200)
commitb81797c4cac62f7b71e88dd9524697d0c33ecb04
tree7c72f4aa1b7e9cb41a491b1a0c38831fd35c29ab
parent11a9d8cf6fd9c0a11b0563e7d6ee9cc994654baf
s4:torture/ldap: Add test for netlogon over tcp

This patch moves the udp netlogon tests from cldap.c
to netlogon.c and passes a generic netlogon-send
function as parameter.

Therefore a tcp replacement for cldap_netlogon is also added.
The two variants tcp and udp are added as 2 new torture tests:

ldap.netlogon-udp & ldap.netlogon-tcp
Both tests succeed.

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
(cherry picked from commit 767bd6a4d49efce1c554bb0bc8130d74331b0bd8)
source4/torture/ldap/cldap.c
source4/torture/ldap/common.c
source4/torture/ldap/netlogon.c [new file with mode: 0644]
source4/torture/wscript_build