r3025: don't warn about no path in a service, as some backends (like cifs) don't...
authorAndrew Tridgell <tridge@samba.org>
Sun, 17 Oct 2004 22:04:15 +0000 (22:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:59 +0000 (12:59 -0500)
(This used to be commit a8c49a0de3f806bddaf6bd594ec052cf9f4a3fab)

source4/param/loadparm.c

index 283a7f80ce935a13e559515a613b6d932389e6f1..752f1d950eab017eed36794a6ad71d67be74fea0 100644 (file)
@@ -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",