Just hardcode workgroup to empty string, to avoid use of
authorJelmer Vernooij <jelmer@samba.org>
Fri, 24 Oct 2008 02:00:07 +0000 (04:00 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 24 Oct 2008 02:00:07 +0000 (04:00 +0200)
global_loadparm.

source4/libcli/raw/clitree.c

index 4b5d2dc39787baa1dd3cad6869adb38189043ca4..ccfb28b84dba9b42fcc896388652443e23204d50 100644 (file)
@@ -196,10 +196,9 @@ NTSTATUS smbcli_tree_full_connection(TALLOC_CTX *parent_ctx,
        io.in.fallback_to_anonymous = false;
 
        /* This workgroup gets sent out by the SPNEGO session setup.
-        * I don't know of any servers that look at it, so we might
-        * hardcode it to "" some day, when the war on global_loadparm
-        * is complete -- abartlet 2008-04-28 */
-       io.in.workgroup = lp_workgroup(global_loadparm);
+        * I don't know of any servers that look at it, so we 
+        * hardcode it to "". */
+       io.in.workgroup = "";
        io.in.options = *options;
        io.in.session_options = *session_options;