s4:libcli Use integrated name resolution when connecting SMB
authorAndrew Bartlett <abartlet@samba.org>
Wed, 10 Mar 2010 05:01:41 +0000 (16:01 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Mar 2010 00:27:48 +0000 (11:27 +1100)
commite999472e36076e432187371b0853b887effe1067
treed6dba34f70f1a7179ddf3e45c04074c7564fb3d1
parent1af2cd2bd1c74c88dd00088eb37ad6286af7561f
s4:libcli Use integrated name resolution when connecting SMB

This avoids pulling the address into a string and back again if given
a name, by letting the next async layer down do the name resolution.
If it was an IP address to start with, then the resolver library just
converts that to the struct socket_address.

Andrew Bartlett
source4/libcli/raw/clisocket.c
source4/libcli/smb_composite/connect.c