diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index c68cf00530..5b55ac3e2a 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -511,6 +511,8 @@ static WERROR cmd_spoolss_setprinter(struct rpc_pipe_client *cli, /* Modify the comment. */ info.info2.comment = comment; + info.info2.secdesc = NULL; + info.info2.devmode = NULL; info_ctr.level = 2; info_ctr.info.info2 = (struct spoolss_SetPrinterInfo2 *)&info.info2; @@ -1608,6 +1610,9 @@ static WERROR cmd_spoolss_setdriver(struct rpc_pipe_client *cli, /* Set the printer driver */ info.info2.drivername = argv[2]; + info.info2.devmode = NULL; + info.info2.secdesc = NULL; + info_ctr.level = 2; info_ctr.info.info2 = (struct spoolss_SetPrinterInfo2 *)&info.info2; |