1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

make sure that we expand %H (from vl); bug 612

This commit is contained in:
Gerald Carter 0001-01-01 00:00:00 +00:00
parent 41aefed932
commit d1cf39e2ec

View File

@ -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;