]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
cool! spooljobs works! this surprised me very much :-) helped to
authorLuke Leighton <lkcl@samba.org>
Sat, 27 Nov 1999 23:31:45 +0000 (23:31 +0000)
committerLuke Leighton <lkcl@samba.org>
Sat, 27 Nov 1999 23:31:45 +0000 (23:31 +0000)
specify \PIPE\spoolss instead of \PIPE\lsarpc...
(This used to be commit 4e92090016badc78ae6532f0eb57af6bbdb789bd)

source3/rpc_client/cli_spoolss.c

index 6e7ca7b3923edf04227a9f805fe346ae250db69c..2b620f036e94bc98846413e5c82b1be3ee6fd6e7 100644 (file)
@@ -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;
        }