git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make sure that we expand %H (from vl); bug 612
[ira/wip.git]
/
source3
/
lib
/
substitute.c
diff --git
a/source3/lib/substitute.c
b/source3/lib/substitute.c
index 6e546bc161f4f6470628b3b8e3aaea752b03101a..923afd989f7f5b939e5c9652998b7f4ecfb5b873 100644
(file)
--- 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;