libads: further split resolve_and_ping into dns and netbios implementations
authorUri Simchoni <urisimchoni@gmail.com>
Thu, 11 Jun 2015 11:24:36 +0000 (14:24 +0300)
committerJeremy Allison <jra@samba.org>
Mon, 15 Jun 2015 23:29:24 +0000 (01:29 +0200)
commit28f51b915947061555ee12f8fbe0e5fab91f4194
treef9cc8ee4fc64523f9f64565967759f904a9065fe
parent4d8241e017da534a933e28a0fd26e862ffae8038
libads: further split resolve_and_ping into dns and netbios implementations

split the resolve_and_ping function, which does name lookup followed by
cldap ping, into two variants:
- resolve_and_ping_dns() which uses AD name resolution
- resolve_and_ping_netbios() which uses pre-AD name resolution

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/libads/ldap.c