Re: [Samba] Printer settings on 2.2.5
Gerald (Jerry) Carter [EMAIL PROTECTED] writes: The problem has gone away...Users can use simplex/duplex printing from any application without problems. Mmmhh. Just one thing : when I upgraded to 2.2.6rc3, I did not remove the /usr/local/samba/var/locks/* files. I just restarted the smbd and nmbd daemons. Perhaps this is the trick ? Yes. Could be. Please retest... I installed 2.2.6rc4 this morning, took the basic config files (smb.conf, smbpasswd, ...) from my previous 2.2.5 installation, without copying the locks/* files and printer drivers files. I followed the instructions from the howto, and this time, everything runs smoothly :-). I must have done something bad during the last upgrade, but I do not know what :-(. -- Nicolas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printer settings on 2.2.5
Gerald (Jerry) Carter [EMAIL PROTECTED] writes: On Mon, 14 Oct 2002, Nicolas Kowalski wrote: Hello. We are using a Samba 2.2.5 as a PDC on a Debian GNU/Linux server. This server also handles a few printers, through LPRng. On the Unix side, no problem (duplex, simplex, short-duplex), everything works fine. I followed the instructions from the howto collection Printing Support in Samba 2.2.x to make these printers available on Samba. Most of the described procedure worked well. Win2k/NT workstations have now the ability to download the required drivers. However, users (then me) noticed that no duplex printing is possible. When Going to Control-Panel-Printers, we can select the Printer properties, then the disposition and finally tell this printer must use duplex printing without problem (as a superuser or as a normal user). Please retest with 2.2.6rc3. This is a known bug and fixed in 2.2.6. I just upgraded to this version, and unfortunately, this does not fix the problem. However, log files have a different error reporting, when a user connects to a printer : [2002/10/15 10:01:27, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! [2002/10/15 10:01:42, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! [2002/10/15 10:01:53, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! [2002/10/15 10:02:15, 2] lib/access.c:check_access(329) Allowed connection from (129.88.43.121) [2002/10/15 10:02:16, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not found: find_printer_index_by_hnd: Printer handle not found: close_printer_handle: Invalid handle (OTHER:28836:7245) [2002/10/15 10:02:16, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not found: find_printer_index_by_hnd: Printer handle not found: close_printer_handle: Invalid handle (OTHER:28836:7245) [2002/10/15 10:02:21, 2] lib/smbrun.c:smbrun(148) Failed to create stdout file descriptor [2002/10/15 10:02:48, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! [2002/10/15 10:03:18, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! -- Nicolas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printer settings on 2.2.5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 15 Oct 2002, Nicolas Kowalski wrote: Samba. Most of the described procedure worked well. Win2k/NT workstations have now the ability to download the required drivers. Most ? Which ones failed? However, users (then me) noticed that no duplex printing is possible. When Going to Control-Panel-Printers, we can select the Printer properties, then the disposition and finally tell this printer must use duplex printing without problem (as a superuser or as a normal user). So does the duplex setting stick after you set is an an administrator (under the Advanced tab)? [2002/10/15 10:01:27, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! [2002/10/15 10:01:42, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! [2002/10/15 10:01:53, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! [2002/10/15 10:02:15, 2] lib/access.c:check_access(329) Allowed connection from (129.88.43.121) [2002/10/15 10:02:16, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not found: find_printer_index_by_hnd: Printer handle not found: close_printer_handle: Invalid handle (OTHER:28836:7245) [2002/10/15 10:02:16, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not found: find_printer_index_by_hnd: Printer handle not found: close_printer_handle: Invalid handle (OTHER:28836:7245) [2002/10/15 10:02:21, 2] lib/smbrun.c:smbrun(148) Failed to create stdout file descriptor [2002/10/15 10:02:48, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! [2002/10/15 10:03:18, 2] rpc_server/srv_spoolss_nt.c:srv_spoolss_receive_message(747) srv_spoolss_receive_message: got incorrect message size (17)! Is this all of the log? Not level 10 i don't think. cheers, jerry - Hewlett-Packard - http://www.hp.com SAMBA Team-- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2SAMS Teach Yourself Samba in 24 Hours 2ed I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9rD9vIR7qMdg1EfYRAkVsAJ97L6ejnj6qsyqJFffwxa6JXqOQMwCfaQ3X tAXz7h+bfvr1zm8Ut4tcmF4= =cO1i -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printer settings on 2.2.5
Hello. We are using a Samba 2.2.5 as a PDC on a Debian GNU/Linux server. This server also handles a few printers, through LPRng. On the Unix side, no problem (duplex, simplex, short-duplex), everything works fine. I followed the instructions from the howto collection Printing Support in Samba 2.2.x to make these printers available on Samba. Most of the described procedure worked well. Win2k/NT workstations have now the ability to download the required drivers. However, users (then me) noticed that no duplex printing is possible. When Going to Control-Panel-Printers, we can select the Printer properties, then the disposition and finally tell this printer must use duplex printing without problem (as a superuser or as a normal user). The strange thing is that when we try to setup such a behaviour (duplex printing) from within an application (any application), the disposition tab does not contain the duplex setting anymore. And of course, users are unable to print duplex documents. I really do not understand what's wrong here. Here is excerpt from /usr/local/samba/lib/smb.conf, with all printer-related informations : [global] [...] load printers = No disable spoolss = no [...] printing = lprng [print$] path = /usr/local/samba/printers guest ok = yes browseable = yes read only = yes write list = root [hp1] comment = HP LaserJet 4050TN path = /var/spool/samba printable = Yes printer name = hp1 guest ok = yes [hp2] comment = HP LaserJet 4100DTN path = /var/spool/samba printable = Yes printer name = hp guest ok = yes Here is also a sample from a log file. This error happens when opening a printer from a Win2K client. I do not know what to do with this. [2002/10/14 16:40:20, 0] lib/util_sock.c:write_socket_data(499) write_socket_data: write failure. Error = Socket operation on non-socket [2002/10/14 16:40:20, 0] lib/util_sock.c:write_socket(524) write_socket: Error writing 162 bytes to socket 1: ERRNO = Socket operation on non-socket Any suggestions ??? Thanks in advance. -- Nicolas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printer settings on 2.2.5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Oct 2002, Nicolas Kowalski wrote: Hello. We are using a Samba 2.2.5 as a PDC on a Debian GNU/Linux server. This server also handles a few printers, through LPRng. On the Unix side, no problem (duplex, simplex, short-duplex), everything works fine. I followed the instructions from the howto collection Printing Support in Samba 2.2.x to make these printers available on Samba. Most of the described procedure worked well. Win2k/NT workstations have now the ability to download the required drivers. However, users (then me) noticed that no duplex printing is possible. When Going to Control-Panel-Printers, we can select the Printer properties, then the disposition and finally tell this printer must use duplex printing without problem (as a superuser or as a normal user). Please retest with 2.2.6rc3. This is a known bug and fixed in 2.2.6. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org SAMS Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca-- -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9qvmnIR7qMdg1EfYRAgJRAJ9RDwDfO3fj6daqJA5yHL6m8rv5mgCeJoWy 1+x6+qy9erqUYyCXRJle2fs= =RL50 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba