From a8c49a0de3f806bddaf6bd594ec052cf9f4a3fab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 17 Oct 2004 22:04:15 +0000 Subject: [PATCH] r3025: don't warn about no path in a service, as some backends (like cifs) don't need a path --- source/param/loadparm.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 283a7f80ce9..752f1d950ea 100644 --- a/source/param/loadparm.c +++ b/source/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",