From 41316b5255eedbc43927283b06b520b0d6c2b0df Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 5 Nov 2003 04:34:31 +0000 Subject: make sure that we expand %H (from vl); bug 612 (This used to be commit a77f5924304d03d8033d1ef5f6526373f5b67aa3) --- source3/lib/substitute.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3') diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index 6e546bc161..923afd989f 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -529,6 +529,9 @@ char *alloc_sub_basic(const char *smb_name, const char *str) else t = realloc_string_sub(t, "%L", global_myname()); break; + case 'N': + t = realloc_string_sub(t, "%N", automount_server(smb_name)); + break; case 'M' : t = realloc_string_sub(t, "%M", client_name()); break; -- cgit