From f2c43ee03933b10cd815af233910d3a0c756f219 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 4 Oct 1998 10:48:31 +0000 Subject: support using #xx at end of netbios name to connect to the specified name type (This used to be commit bf409a40e21e44ec653d4d8fd34b52d0e7b64aed) --- source3/client/client.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/client') 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) { -- cgit