1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

smbdotconf: mark "username map script" with substitution="1"

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Ralph Boehme 2019-11-05 12:12:51 +01:00 committed by Stefan Metzmacher
parent 3c68114e73
commit b635c445ad
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<samba:parameter name="username map script"
context="G"
type="string"
substitution="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This script is a mutually exclusive alternative to the

View File

@ -288,7 +288,7 @@ bool map_username(TALLOC_CTX *ctx, const char *user_in, char **p_user_out)
char *s;
char buf[512];
bool mapped_user = False;
char *cmd = lp_username_map_script(talloc_tos());
char *cmd = lp_username_map_script(talloc_tos(), lp_sub);
*p_user_out = NULL;