r5371: on port 139 the called name needs to be in uppercase
authorAndrew Tridgell <tridge@samba.org>
Sun, 13 Feb 2005 09:10:33 +0000 (09:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:48 +0000 (13:09 -0500)
(This used to be commit c5aef260c4581bfc0d32ec09fac3414156c40230)

source4/libcli/raw/clitree.c

index ce4dafca9f2d9caf63714c43797fa3edda40d47c..74db1c69528345b73fc9bad4220ffd37ad2cd253 100644 (file)
@@ -175,8 +175,8 @@ NTSTATUS smbcli_tree_full_connection(TALLOC_CTX *parent_ctx,
 
        io.in.dest_host = dest_host;
        io.in.port = port;
-       io.in.called_name = dest_host;
-       io.in.calling_name = my_name;
+       io.in.called_name = strupper_talloc(parent_ctx, dest_host);
+       io.in.calling_name = strupper_talloc(parent_ctx, my_name);
        io.in.service = service;
        io.in.service_type = service_type;
        io.in.domain = domain;