s3: cldap: cldap_multi_netlogon_send() fails with one bad IPv6 address.
commit92bc3963a92f86c2e37d22c08ad8b6ff2bb6e88a
authorJeremy Allison <jra@samba.org>
Mon, 17 Oct 2016 17:07:23 +0000 (17 10:07 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Oct 2016 08:45:27 +0000 (20 10:45 +0200)
tree9719a6d5782dd41d85a36fc6dc8d66fa8286790a
parentd465cabc8ea1080f52376ec3c8bf6c955e68be39
s3: cldap: cldap_multi_netlogon_send() fails with one bad IPv6 address.

Analysis by: Rebecca Gellman <rebecca@starfleet-net.co.uk>

Ignore cldap_socket_init() failure when sending
multiple cldap netlogon requests. Allow cldap_netlogon_send()
to catch the bad address and correctly return through a
tevent subreq.

Make sure cldap_search_send() copes with cldap parameter == NULL.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Oct 18 02:16:20 CEST 2016 on sn-devel-144

(cherry picked from commit 44a7040500d74551b48eba04f5d0bedb1ec35ba6)
libcli/cldap/cldap.c
source3/libads/cldap.c