r1897: added a choose_called_name() function that allows us to more sanely
authorAndrew Tridgell <tridge@samba.org>
Wed, 18 Aug 2004 20:13:08 +0000 (20:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:58:09 +0000 (12:58 -0500)
commit1129c7808354dc04f7725be505fd23c0bf11a29d
tree3396a6b9f6833eb9819345fbeea644d250deb448
parent5f1f1e5e5c52ec8c453b5ea688f87004541cc5bd
r1897: added a choose_called_name() function that allows us to more sanely
handle connections using the IP as the server name, while not trying
for NBT name resolution on names like "192" and "192.168.1.2".

also removed the ip address argument to smbcli_socket_connect() as it
isn't used and doesn't really make sense.
(This used to be commit 2ce4028842556328da4da0de9bee942bed02cc62)
source4/client/client.c
source4/client/smbmount.c
source4/libcli/cliconnect.c
source4/libcli/nmblib.c
source4/libcli/raw/clitree.c
source4/torture/torture.c