1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r3025: don't warn about no path in a service, as some backends (like cifs) don't need a path

This commit is contained in:
Andrew Tridgell 2004-10-17 22:04:15 +00:00 committed by Gerald (Jerry) Carter
parent 54fd395025
commit a8c49a0de3

View 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",