libcli-cldap: avoid the case local == remote == NULL (cherry picked from commit 4d2d3...
authorMatthieu Patou <mat@matws.net>
Fri, 21 Oct 2011 14:11:41 +0000 (16:11 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 20:28:10 +0000 (21:28 +0100)
commit0a7ff283dcef5adbf9e6f5e8998c9061c4dbc1b3
tree95eef5462efd5d03a6c15c42e16dbcbe72414a62
parent0cfe6c010fc59e09586cc69ce776d2412abb32b3
libcli-cldap: avoid the case local == remote == NULL (cherry picked from commit 4d2d33ee09941ddb211e21788c01d886730224c2)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
The last 2 patches address bug #8600 (cldap doesn't work over ipv6).
(cherry picked from commit d8bc1584df47673ba7f6933af178f8669a61262b)
libcli/cldap/cldap.c