summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbwrapper/smbw.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 51e4b4cb65..65a70c9178 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -79,6 +79,10 @@ void smbw_init(void)
load_interfaces();
+ if ((p=smbw_getshared("SERVICESF"))) {
+ pstrcpy(servicesf, p);
+ }
+
lp_load(servicesf,True,False,False);
get_myname(global_myname);
@@ -257,7 +261,6 @@ static char *smbw_find_workgroup(void)
char *p;
struct in_addr *ip_list = NULL;
int count = 0;
- int i;
/* first off see if an existing workgroup name exists */
p = smbw_getshared("WORKGROUP");