summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/clitree.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-24 16:27:36 +0100
committerAndrew Bartlett <abartlet@samba.org>2008-04-24 16:27:36 +0100
commitd67e47e5cd11c928299dc03ce2ff521e2d3cca83 (patch)
treece9cbf1386188dafe7afb6627948db7d47badf09 /source4/libcli/raw/clitree.c
parented5ddabc43c484fe6eca3bd4b0cc22eb5aa9a33a (diff)
downloadsamba-d67e47e5cd11c928299dc03ce2ff521e2d3cca83.tar.gz
samba-d67e47e5cd11c928299dc03ce2ff521e2d3cca83.tar.bz2
samba-d67e47e5cd11c928299dc03ce2ff521e2d3cca83.zip
Add comment explaining why io.in.workgroup isn't important.
This protocol feild isn't used by servers (apparently), so we might be able to get rid of it. Andrew Bartlett (This used to be commit 58935acc7c8e97323d5d5979234ef26ef8a100a4)
Diffstat (limited to 'source4/libcli/raw/clitree.c')
-rw-r--r--source4/libcli/raw/clitree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/libcli/raw/clitree.c b/source4/libcli/raw/clitree.c
index d5075f9271..15cd70833c 100644
--- a/source4/libcli/raw/clitree.c
+++ b/source4/libcli/raw/clitree.c
@@ -193,6 +193,11 @@ NTSTATUS smbcli_tree_full_connection(TALLOC_CTX *parent_ctx,
io.in.service_type = service_type;
io.in.credentials = credentials;
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);
io.in.options = *options;