r25398: Parse loadparm context to all lp_*() functions.
[kai/samba.git] / source4 / libcli / raw / clitree.c
index 6a15c25eb9fa8363b78aaedfba369ef56a88a308..4ff11f3a691349fb6b73faa42ee39e794977bd64 100644 (file)
@@ -190,7 +190,7 @@ 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;
-       io.in.workgroup = lp_workgroup();
+       io.in.workgroup = lp_workgroup(global_loadparm);
        
        status = smb_composite_connect(&io, parent_ctx, ev);
        if (NT_STATUS_IS_OK(status)) {