From 0293869b1f6012d1f106e4ab1bd392cea1c66ff0 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sun, 18 Feb 2001 10:36:03 +0000 Subject: Fixes to libsmbclient so it will work when browsing real Windows systems which only respond to port 138 when dealing with NetBIOS datagrams. We use the unexpected packed database. (This used to be commit 620cc34015ab16d25f7ef7e13cbc3d0f669da11e) --- source3/libsmb/libsmbclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb/libsmbclient.c') diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 3541028fb8..67d5b92100 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -544,8 +544,6 @@ int smbc_init(smbc_get_auth_data_fn fn, int debug) in_client = True; /* FIXME, make a param */ - - if (!lp_load(conf, True, False, False)) { /* @@ -563,6 +561,8 @@ int smbc_init(smbc_get_auth_data_fn fn, int debug) reopen_logs(); /* Get logging working ... */ + name_register_wins(my_netbios_name, 0); + /* * Now initialize the file descriptor array and figure out what the * max open files is, so we can return FD's that are above the max -- cgit