summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{