torture: fix the ldap.cldap test
authorMichael Adam <obnox@samba.org>
Thu, 17 Dec 2015 12:56:16 +0000 (13:56 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:26 +0000 (12:25 +0100)
commit9b443d2f4ba850582f3a888ad89322f626e0e750
tree614213ead5b5565518f7b9af434fdabae816626b
parent2e2d4be953e9a4f70054011a44bc1dff71b6bf3b
torture: fix the ldap.cldap test

This makes sure a host*NAME* handed in will get properly resolved.
Bug uncovered by the new nss_wrapper code (1.1.2) which fixed
the handling of the AI_NUMERICHOST flag in getaddrinfo.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/ldap/cldap.c