diff options
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_connect.c | 2 | ||||
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_connect.c b/source3/rpc_client/cli_connect.c index fcca3e44ff..f935b53044 100644 --- a/source3/rpc_client/cli_connect.c +++ b/source3/rpc_client/cli_connect.c @@ -96,7 +96,7 @@ static struct cli_connection *cli_con_get(const char* srv_name, con->pipe_name = strdup(pipe_name); } - con->cli = cli_net_use_add(srv_name, usr_creds, False, reuse); + con->cli = cli_net_use_add(srv_name, usr_creds, True, reuse); if (con->cli == NULL) { diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 2b620f036e..7ddbb9dbe4 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -62,7 +62,7 @@ BOOL spoolss_enum_printers(uint32 flags, const char *srv_name, DEBUG(5,("SPOOLSS Enum Printers (Server: %s level: %d)\n", srv_name, level)); - make_spoolss_q_enumprinters(&q_o, flags, srv_name, level, 0x50); + make_spoolss_q_enumprinters(&q_o, flags, srv_name, level, 0x200); /* turn parameters into data stream */ spoolss_io_q_enumprinters("", &q_o, &buf, 0); |