REPOST: Question about srv_spoolss_send_event_to_client()
Gerald (Jerry) Carter
jerry at samba.org
Thu Feb 27 17:04:06 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter,
I'll take a look. I'm just reaally tied up on a few things at the moment.
I think i'm the one that put that code in. Thanks.
cheers, jerry
On Wed, 26 Feb 2003, Peter Hurley wrote:
> -----Original Message-----
> From: samba-technical-bounces+phurley=imaginexd.com at lists.samba.org
> [mailto:samba-technical-bounces+phurley=imaginexd.com at lists.samba.org]
> On Behalf Of Peter Hurley
> Sent: Monday, February 17, 2003 3:41 PM
> To: samba-technical at lists.samba.org
> Subject: Question about srv_spoolss_send_event_to_client()
>
> In rpc_server/srv_spoolss_nt.c:srv_spoolss_send_event_to_client():
> Could someone tell me why the following lines of code were added?
>
> if (Printer->printer_type == PRINTER_HANDLE_IS_PRINTSERVER)
> msg->flags |= PRINTER_MESSAGE_ATTRIBUTES;
>
> The problem is that sending expanded NOTIFY_INFO_DATA in the RRPCN
> request for a printserver causes W2k clients to ** NOT ** send RFNPCNEX
> requests.
>
> The upshot is that when a W2k client opens the Printers window on the
> print server and selects a printer, the printer status will not change
> during subsequent operations (say pausing and unpausing).
>
> Commenting out the lines of code above had the desired effect (i.e.,
> fixed that problem), but I'm concerned since someone put it in to begin
> with.
>
> If the above is absolutely necessary, then the fix is much more
> complicated.
>
> Thanks,
>
> Peter Hurley
> phurley at imaginexd.com
>
>
>
- --
----------------------------------------------------------------------
Hewlett-Packard ------------------------- http://www.hp.com
SAMBA Team ---------------------- http://www.samba.org
GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
"You can never go home again, Oatman, but I guess you can shop there."
--John Cusack - "Grosse Point Blank" (1997)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE+XkUGIR7qMdg1EfYRAr/LAKCBEYJG9KCK+3RI0IF6zM/5qZLM2gCgojmI
POyxZUBjjuW0/Po3ZQ4ads4=
=V23R
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list