From 3d6f7800106a6f5356c19f413f50d43de74a4b8f Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 5 Nov 2003 04:34:44 +0000 Subject: make sure that we expand %H (from vl); bug 612 (This used to be commit d1cf39e2ecee7e76953a5eee386f723a46bf9b14) --- source3/lib/substitute.c | 3 +++ 1 file changed, 3 insertions(+) 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