diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-27 23:31:45 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-27 23:31:45 +0000 |
commit | 89c4e7fb387808e663388bce4e3ccab0cce1f4e6 (patch) | |
tree | 99e5cd2fd2f5ef2320e550f8bb47ffaba18e3450 /source3/rpc_client | |
parent | 9720774c6a01d1e267a83cec7eafcedadfb4169c (diff) | |
download | samba-89c4e7fb387808e663388bce4e3ccab0cce1f4e6.tar.gz samba-89c4e7fb387808e663388bce4e3ccab0cce1f4e6.tar.bz2 samba-89c4e7fb387808e663388bce4e3ccab0cce1f4e6.zip |
cool! spooljobs works! this surprised me very much :-) helped to
specify \PIPE\spoolss instead of \PIPE\lsarpc...
(This used to be commit 4e92090016badc78ae6532f0eb57af6bbdb789bd)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 4 |
1 files 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; } |