summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-08-12 14:26:01 +0000
committerGerald Carter <jerry@samba.org>2000-08-12 14:26:01 +0000
commit74f2fc40dbcd0478d0d1f77cce0b5d9ee5c1aa8d (patch)
tree07aff15948218d8eac1b35b326a54faa03431a81 /source3/rpcclient
parentcf023a7ce0ba08f3b7e37fecf8219e83c04ed418 (diff)
downloadsamba-74f2fc40dbcd0478d0d1f77cce0b5d9ee5c1aa8d.tar.gz
samba-74f2fc40dbcd0478d0d1f77cce0b5d9ee5c1aa8d.tar.bz2
samba-74f2fc40dbcd0478d0d1f77cce0b5d9ee5c1aa8d.zip
FIxed some unmarshalling problems with relstr and unistr arrays
jerry (This used to be commit ce2d20395ae3d41d55030427f4b7b44ce87c605e)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_spoolss.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 2bf59bc4a1..181ef97dec 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -101,6 +101,8 @@ uint32 cmd_spoolss_enum_printers(struct client_info *info, int argc, char *argv[
else
report(out_hnd, "FAILED\n");
+
+#if 0 /* JERRY */
flags=PRINTER_ENUM_NAME;
if (msrpc_spoolss_enum_printers(srv_name, flags, level, ctr))
@@ -114,7 +116,7 @@ uint32 cmd_spoolss_enum_printers(struct client_info *info, int argc, char *argv[
DEBUG(5,("cmd_spoolss_enum_printer: query succeeded\n"));
else
report(out_hnd, "FAILED\n");
-
+
flags=PRINTER_ENUM_CONNECTIONS;
if (msrpc_spoolss_enum_printers(srv_name, flags, level, ctr))
@@ -135,7 +137,8 @@ uint32 cmd_spoolss_enum_printers(struct client_info *info, int argc, char *argv[
DEBUG(5,("cmd_spoolss_enum_printer: query succeeded\n"));
else
report(out_hnd, "FAILED\n");
-
+#endif
+
return NT_STATUS_NOPROBLEMO;
}