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:
parent
3c68114e73
commit
b635c445ad
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user