s4:torture: use a connected CLDAP socket.
commit3751485c8432c0f6d3955f2b03a81cf4002d7a1b
authorStefan Metzmacher <metze@samba.org>
Thu, 25 Feb 2010 11:47:38 +0000 (25 12:47 +0100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 26 Feb 2010 02:22:12 +0000 (26 13:22 +1100)
tree0531c040e0e144b4cec7de9bcf75c7a64f21f731
parentb6737c1a7cfe68ff45a2114b48e99176dd32d2ae
s4:torture: use a connected CLDAP socket.

This is needed because we don't (want) to specify an explicit
local address. And the socket family (ipv4 vs. ipv6) needs to
be autodetected based on the remote address before the
socket() syscall.

Otherwise we would try to connect to a ipv4 address through an
ipv6only socket.

metze
source4/torture/ldap/cldap.c
source4/torture/ldap/cldapbench.c
source4/torture/rpc/dssync.c