summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 10:48:31 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 10:48:31 +0000
commitf2c43ee03933b10cd815af233910d3a0c756f219 (patch)
treedf33d8d3297d3e987e35352a9ce189a8c9af3bad /source3/client
parent7c3c022a8913aec76a175095475cfcf8a4dfd698 (diff)
downloadsamba-f2c43ee03933b10cd815af233910d3a0c756f219.tar.gz
samba-f2c43ee03933b10cd815af233910d3a0c756f219.tar.bz2
samba-f2c43ee03933b10cd815af233910d3a0c756f219.zip
support using #xx at end of netbios name to connect to the specified name type
(This used to be commit bf409a40e21e44ec653d4d8fd34b52d0e7b64aed)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index c4f763db77..436b0c3c7c 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -4104,6 +4104,12 @@ static void usage(char *pname)
} else
return(1);
}
+
+ if ((p=strchr(query_host,'#'))) {
+ *p = 0;
+ p++;
+ sscanf(p, "%x", &name_type);
+ }
if (*query_host && !nt_domain_logon)
{