summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>1998-10-06 23:46:01 +0000
committerRichard Sharpe <sharpe@samba.org>1998-10-06 23:46:01 +0000
commit0cf1ea4e2eafff8a65ef8766fe7351281d2dd53b (patch)
tree8ddd9222d7127e6b97f5dfee50fa80f0155a99e8 /source3/client
parentc07b2bdf9032c870f7f50a9671e8d9fb0a56739a (diff)
downloadsamba-0cf1ea4e2eafff8a65ef8766fe7351281d2dd53b.tar.gz
samba-0cf1ea4e2eafff8a65ef8766fe7351281d2dd53b.tar.bz2
samba-0cf1ea4e2eafff8a65ef8766fe7351281d2dd53b.zip
Added capability for smbclient to use the local WINS server on the same
machine if WINSsupport configured (This used to be commit 1398feebbcb65a9e78b7084811bf9727b6d89682)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 436b0c3c7c..a6a3be7338 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -27,6 +27,7 @@
#define REGISTER 0
#endif
+extern BOOL in_client;
pstring cur_dir = "\\";
pstring cd_path = "";
extern BOOL in_client;
@@ -3790,7 +3791,7 @@ static void usage(char *pname)
DEBUG(0,("Failed to get my hostname.\n"));
}
- in_client = True;
+ in_client = True; /* Make sure that we tell lp_load we are */
if (!lp_load(servicesf,True,False,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n", servicesf);