svn commit: samba r3025 - in branches/SAMBA_4_0/source/param: .

tridge at samba.org tridge at samba.org
Sun Oct 17 22:04:15 GMT 2004


Author: tridge
Date: 2004-10-17 22:04:15 +0000 (Sun, 17 Oct 2004)
New Revision: 3025

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/param&rev=3025&nolog=1

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

Modified:
   branches/SAMBA_4_0/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_4_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_4_0/source/param/loadparm.c	2004-10-17 22:03:33 UTC (rev 3024)
+++ branches/SAMBA_4_0/source/param/loadparm.c	2004-10-17 22:04:15 UTC (rev 3025)
@@ -1909,13 +1909,6 @@
 			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",



More information about the samba-cvs mailing list