Question about srv_spoolss_send_event_to_client()

Gerald (Jerry) Carter jerry at samba.org
Tue Apr 15 13:17:14 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 17 Feb 2003, Peter Hurley wrote:

> 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.

I finally had a chance to look at this.  The print change notify code
in 2.2 is incomplete.  It has been rewritten in 3.0.  My advice is to do
whatever you need to keep 2.2 working until 3.0 comes out (wrt to print 
change notify).





cheers, jerry
 ----------------------------------------------------------------------
 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+nAZaIR7qMdg1EfYRAgNKAKDBRwa6Qlm55+EAiDcGtD52sbDipQCbBaAA
M9fFtfJE2YUU2vOIKaLm4I0=
=kA06
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list