mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
smbdotconf: mark "deleteprinter command" with substitution="1"
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
b1c27e7246
commit
d035f850de
@ -1,6 +1,7 @@
|
||||
<samba:parameter name="deleteprinter command"
|
||||
context="G"
|
||||
type="string"
|
||||
substitution="1"
|
||||
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
||||
<description>
|
||||
<para>With the introduction of MS-RPC based printer
|
||||
|
@ -346,7 +346,9 @@ static WERROR delete_printer_hook(TALLOC_CTX *ctx, struct security_token *token,
|
||||
const char *sharename,
|
||||
struct messaging_context *msg_ctx)
|
||||
{
|
||||
char *cmd = lp_deleteprinter_command(talloc_tos());
|
||||
const struct loadparm_substitution *lp_sub =
|
||||
loadparm_s3_global_substitution();
|
||||
char *cmd = lp_deleteprinter_command(talloc_tos(), lp_sub);
|
||||
char *command = NULL;
|
||||
int ret;
|
||||
bool is_print_op = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user