git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
494e332
)
r12471: r12038@cabra: derrell | 2005-12-24 23:17:16 -0500
author
Derrell Lipman
<derrell@samba.org>
Sun, 25 Dec 2005 04:17:32 +0000
(
04:17
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:05:57 +0000
(11:05 -0500)
libsmbclient was not loading the global configuration file. This should fix 3336.
(This used to be commit
6d7a9ce7a7060b9b397ae77b8b54d3cf25e50e5a
)
source3/libsmb/libsmbclient.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/libsmbclient.c
b/source3/libsmb/libsmbclient.c
index 623977b39e7a83af34c589554a34f8f4c9df6c19..635f280bee1aa7e53ac16d14a08a9243c5dcd8cf 100644
(file)
--- a/
source3/libsmb/libsmbclient.c
+++ b/
source3/libsmb/libsmbclient.c
@@
-5673,6
+5673,11
@@
SMBCCTX * smbc_init_context(SMBCCTX * context)
/* Here we would open the smb.conf file if needed ... */
+ if (!lp_load(dyn_CONFIGFILE, True, False, False)) {
+ DEBUG(5, ("Could not load config file: %s\n",
+ dyn_CONFIGFILE));
+ }
+
load_interfaces(); /* Load the list of interfaces ... */
in_client = True; /* FIXME, make a param */