diff options
author | Gerald Carter <jerry@samba.org> | 2003-11-05 04:34:31 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-11-05 04:34:31 +0000 |
commit | 41316b5255eedbc43927283b06b520b0d6c2b0df (patch) | |
tree | 25f02edf6dfcc1714f0ff47a01adb0eb14ad63c5 /source3/lib | |
parent | 3886d6a7a138c2082a1418f57b7d7b03390d0b90 (diff) | |
download | samba-41316b5255eedbc43927283b06b520b0d6c2b0df.tar.gz samba-41316b5255eedbc43927283b06b520b0d6c2b0df.tar.bz2 samba-41316b5255eedbc43927283b06b520b0d6c2b0df.zip |
make sure that we expand %H (from vl); bug 612
(This used to be commit a77f5924304d03d8033d1ef5f6526373f5b67aa3)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/substitute.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |