diff options
author | Gerald Carter <jerry@samba.org> | 2000-09-12 16:03:16 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-09-12 16:03:16 +0000 |
commit | 072d39165d63b960fea583b65d9a4d110466bea8 (patch) | |
tree | 9ba5e403e1f4dac730212a5b24468fed1d2f14b5 /source3/rpcclient | |
parent | 55c3abe3f2f81972d48a48174bdbe76f0fdb13e8 (diff) | |
download | samba-072d39165d63b960fea583b65d9a4d110466bea8.tar.gz samba-072d39165d63b960fea583b65d9a4d110466bea8.tar.bz2 samba-072d39165d63b960fea583b65d9a4d110466bea8.zip |
spoolgetprinterdriver now returns "Windows NT x86" and "Windows 4.0"
driver information.
Will merge into TNG.
jerry
(This used to be commit ae7dd77c2495d5e17f6e8da94afbe8cab3e773bb)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index b3e7554663..392f31b625 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -463,15 +463,23 @@ uint32 cmd_spoolss_getprinterdriver(struct client_info *info, int argc, char *ar printer_name = srv_name; } + report (out_hnd, "Environment = Windows NT x86\n"); fstrcpy(environment, "Windows NT x86"); level=3; + if (msrpc_spoolss_getprinterdriver(printer_name, environment, level, station, "Administrator", ctr)) + DEBUG(5,("cmd_spoolss_getprinterdriver: query succeeded\n")); + else + report(out_hnd, "FAILED\n"); + report (out_hnd, "Environment = Windows 4.0\n"); + fstrcpy(environment, "Windows 4.0"); + level=3; if (msrpc_spoolss_getprinterdriver(printer_name, environment, level, station, "Administrator", ctr)) DEBUG(5,("cmd_spoolss_getprinterdriver: query succeeded\n")); else report(out_hnd, "FAILED\n"); - return NT_STATUS_NOPROBLEMO; + return NT_STATUS_NOPROBLEMO; } /**************************************************************************** |