summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-17 22:04:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:59 -0500
commit9a499a801006950bd44d30e8b136685c3a197d48 (patch)
treeb02e914f1c2ecff315a043bee5b6ade8bed2c93f /source4/param
parente81230df4b99c4cdcb80648809e62aead3e0ec28 (diff)
downloadsamba-9a499a801006950bd44d30e8b136685c3a197d48.tar.gz
samba-9a499a801006950bd44d30e8b136685c3a197d48.tar.bz2
samba-9a499a801006950bd44d30e8b136685c3a197d48.zip
r3025: don't warn about no path in a service, as some backends (like cifs) don't need a path
(This used to be commit a8c49a0de3f806bddaf6bd594ec052cf9f4a3fab)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 283a7f80ce..752f1d950e 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -1909,13 +1909,6 @@ static BOOL service_ok(int iService)
ServicePtrs[iService]->bBrowseable = False;
}
- if (ServicePtrs[iService]->szPath[0] == '\0' &&
- strwicmp(ServicePtrs[iService]->szService, HOMES_NAME) != 0) {
- DEBUG(0, ("No path in service %s - using %s\n",
- ServicePtrs[iService]->szService, tmpdir()));
- string_set(&ServicePtrs[iService]->szPath, tmpdir());
- }
-
/* If a service is flagged unavailable, log the fact at level 0. */
if (!ServicePtrs[iService]->bAvailable)
DEBUG(1, ("NOTE: Service %s is flagged unavailable.\n",