From 1129c7808354dc04f7725be505fd23c0bf11a29d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 18 Aug 2004 20:13:08 +0000 Subject: 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/smbmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/client/smbmount.c') diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c index 235a45a3f1d..795bd508122 100644 --- a/source4/client/smbmount.c +++ b/source4/client/smbmount.c @@ -139,7 +139,7 @@ static struct smbcli_state *do_connection(char *the_service) server_n = server; make_nmb_name(&calling, my_netbios_name, 0x0); - make_nmb_name(&called , server, 0x20); + choose_called_name(&called, server, 0x20); again: zero_ip(&ip); -- cgit