From 89c4e7fb387808e663388bce4e3ccab0cce1f4e6 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sat, 27 Nov 1999 23:31:45 +0000 Subject: cool! spooljobs works! this surprised me very much :-) helped to specify \PIPE\spoolss instead of \PIPE\lsarpc... (This used to be commit 4e92090016badc78ae6532f0eb57af6bbdb789bd) --- source3/rpc_client/cli_spoolss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 6e7ca7b392..2b620f036e 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -47,7 +47,7 @@ BOOL spoolss_enum_printers(uint32 flags, const char *srv_name, struct cli_connection *con = NULL; - if (!cli_connection_init(srv_name, PIPE_LSARPC, &con)) + if (!cli_connection_init(srv_name, PIPE_SPOOLSS, &con)) { return False; } @@ -203,7 +203,7 @@ BOOL spoolss_open_printer_ex( const char *printername, *s = 0; } - if (!cli_connection_init(srv_name, PIPE_LSARPC, &con)) + if (!cli_connection_init(srv_name, PIPE_SPOOLSS, &con)) { return False; } -- cgit