summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-11-05 12:14:37 +0100
committerStefan Metzmacher <metze@samba.org>2019-11-27 10:25:36 +0000
commit2dae6473fa0dabc2e12ffcf766f81117a10944b4 (patch)
tree3aac11981ee3ea3b834cd988b2cea9dc8fa1cc0a /source3/param
parentb635c445ad5a283bce28ae7eb7a60067d8802d6c (diff)
downloadsamba-2dae6473fa0dabc2e12ffcf766f81117a10944b4.tar.gz
smbdotconf: mark "usershare path" with substitution="1"
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/service.c b/source3/param/service.c
index 76c12bd591d..09b8228daad 100644
--- a/source3/param/service.c
+++ b/source3/param/service.c
@@ -191,7 +191,7 @@ int find_service(TALLOC_CTX *ctx, const char *service_in, char **p_service_out)
}
/* Is it a usershare service ? */
- if (iService < 0 && *lp_usershare_path(talloc_tos())) {
+ if (iService < 0 && *lp_usershare_path(talloc_tos(), lp_sub)) {
/* Ensure the name is canonicalized. */
if (!strlower_m(*p_service_out)) {
goto fail;