diff options
author | Gerald Carter <jerry@samba.org> | 2003-02-27 21:22:36 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-02-27 21:22:36 +0000 |
commit | 0d30cdf66c4e186e20a09e1e8b39d501e662ae50 (patch) | |
tree | 74c8f01db2ef1ff82af40ecb1035d03e0f327bc2 /source3/rpc_server | |
parent | ff5d95f0efa6370d4aa747e28ba8e5cac489dc44 (diff) | |
download | samba-0d30cdf66c4e186e20a09e1e8b39d501e662ae50.tar.gz samba-0d30cdf66c4e186e20a09e1e8b39d501e662ae50.tar.bz2 samba-0d30cdf66c4e186e20a09e1e8b39d501e662ae50.zip |
additional fix for CR 601
* distinguish WinXP from Win2k
* add a 1/3 of a second delay in OpenPrinter
in order to trigger a LAN/WAN optimization in
2k clients.
(This used to be commit c7712fa054d21b4884a78b7ea6c0fb8b3d637c6b)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index fa9b8eaeff..4006d0c08e 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1675,6 +1675,12 @@ Can't find printer handle we created for printer %s\n", name )); &Printer->nt_devmode ); } + /* HACK ALERT!!! Sleep for 1/3 of a second to try trigger a LAN/WAN + optimization in Windows 2000 clients --jerry */ + + if ( RA_WIN2K == get_remote_arch() ) + usleep( 384000 ); + return WERR_OK; } |