diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-11-26 23:43:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-11-26 23:43:06 +0000 |
commit | 2245da4ad6674aa373e3057c661f5bc0315e191f (patch) | |
tree | 09423e0842b1b1c64b75054fe09add0a459c7a07 | |
parent | 8ced76c4c71c67c54bf0deedff5a7adfca04e4f3 (diff) | |
download | samba-2245da4ad6674aa373e3057c661f5bc0315e191f.tar.gz samba-2245da4ad6674aa373e3057c661f5bc0315e191f.tar.xz samba-2245da4ad6674aa373e3057c661f5bc0315e191f.zip |
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.
-rw-r--r-- | source/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 8858455f6a4..92b8f58ec9d 100644 --- a/source/param/loadparm.c +++ b/source/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) |