summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/libsmb_context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c
index 212b42fa88..3e67943c83 100644
--- a/source3/libsmb/libsmb_context.c
+++ b/source3/libsmb/libsmb_context.c
@@ -27,8 +27,6 @@
#include "libsmb_internal.h"
-extern bool in_client;
-
/*
* Is the logging working / configfile read ?
*/
@@ -450,7 +448,7 @@ smbc_init_context(SMBCCTX *context)
/* Here we would open the smb.conf file if needed ... */
- in_client = True; /* FIXME, make a param */
+ lp_set_in_client(True);
home = getenv("HOME");
if (home) {