From 6c158adf25dae3a71203d0dffc6a6018ba02da0d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 26 Nov 1997 23:43:06 +0000 Subject: oh no! my favourite hack is broken. You can't do: [%U] path = %H to get a new homes area. I wonder when it broke? Anyway, I've fixed it. We can all rest easy now, knowing that you really can produce an incomprehensible smb.conf and get it to work. (This used to be commit 2245da4ad6674aa373e3057c661f5bc0315e191f) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 8858455f6a..92b8f58ec9 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -2232,7 +2232,7 @@ int lp_servicenumber(char *pszServiceName) for (iService = iNumServices - 1; iService >= 0; iService--) if (VALID(iService) && - strwicmp(iSERVICE(iService).szService, pszServiceName) == 0) + strequal(lp_servicename(iService), pszServiceName)) break; if (iService < 0) -- cgit