christoph.beyer at desy.de
2010-Mar-17 10:08 UTC
[Samba] 3.5.1 64 bit windows printing is working a bit
Hi, although I don't expect any answers (like most of the times) , here is my experience so far: I run a samba printserver for +3.000 hosts and 600 printers with a correct setup successfully. So be sure, everything is plugged in, I tried to turn it off and on again, I RTFM'ed and so on. Here is my most successfull attempt to get the printservice going on 3.5.1 and windows 7 46 bit in an AD 2008R3 environment: I installed the driver (Konica Minolta bizhub 250) using the print management console on a windows 7 client host -> success: the driver-files are visible on the samba machine in the x64 directory. The printerdriver does not show up in the advanced tab of the printer properties. [printserver] # rpcclient -U<uid> -c 'setdriver itmfp1 "KONICA MINOLTA 350/250/200 VPS"' printserver -> Successfully set itmfp1 to driver KONICA MINOLTA 350/250/200 VPS. Works, driver is visible now in tab, testpage prints out OK :) Reopening the properties tab gives error message: "C:\....\mmc.exe Function adress 0xff38117a caused a protection fault (exception code 0xc000005) some or all properties pages may not be displayed" In the samba logfile I see one error, don't now if it is realted though: [2010/03/17 10:57:22.771269, 3] smbd/error.c:76(error_packet_set) error packet at smbd/trans2.c(4130) cmd=50 (SMBtrans2) NT_STATUS_INVALID_LEVEL [2010/03/17 10:57:22.771592, 5] lib/util.c:617(show_msg) [2010/03/17 10:57:22.771727, 5] lib/util.c:620(show_msg) size=35 smb_com=0x32 smb_rcls=72 smb_reh=1 smb_err=49152 smb_flg=136 smb_flg2=51203 smb_tid=1 smb_pid=1044 smb_uid=101 smb_mid=74 smt_wct=0 smb_bcc=0 [2010/03/17 10:57:22.773226, 10] lib/util_sock.c:726(read_smb_length_return_keepalive) got smb length of 224 All this is done on a 'windows 7 only' samba machine, I had no luck to install the driver in an environment with x86 drivers already installed, there was no way to get 'rpcclient' to associate the printqueue with teh driver. So as far as I see it windows 64 bit printing is working in principle but not in a way someone could use it as a service. If there is any interest in debug logging output or experiences with other drivers and/or configurations don't hesitate to send me e-mail I am mor then willing to be of any use to drive this further, don' expect any reactions from the list though - surprise me ;) cheers ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY | Phone: 040-8998-2317 * * - IT - | Fax: 040-8998-4060 * \* 22603 Hamburg | http://www.desy.de */
Jeremy Allison
2010-Mar-17 17:02 UTC
[Samba] 3.5.1 64 bit windows printing is working a bit
On Wed, Mar 17, 2010 at 11:08:58AM +0100, christoph.beyer at desy.de wrote:> Hi, > > although I don't expect any answers (like most of the times) , here > is my experience so far: > > I run a samba printserver for +3.000 hosts and 600 printers with a > correct setup successfully. So be sure, everything is plugged in, I > tried to turn it off and on again, I RTFM'ed and so on. > > Here is my most successfull attempt to get the printservice going on > 3.5.1 and windows 7 46 bit in an AD 2008R3 environment: > > I installed the driver (Konica Minolta bizhub 250) using the print > management console on a windows 7 client host -> success: the > driver-files are visible on the samba machine in the x64 directory. > > The printerdriver does not show up in the advanced tab of the > printer properties. > > [printserver] # rpcclient -U<uid> -c 'setdriver itmfp1 "KONICA > MINOLTA 350/250/200 VPS"' printserver > -> > Successfully set itmfp1 to driver KONICA MINOLTA 350/250/200 VPS. > > Works, driver is visible now in tab, testpage prints out OK :) > > Reopening the properties tab gives error message: > > "C:\....\mmc.exe > Function adress 0xff38117a caused a protection fault (exception code > 0xc000005) some or all properties pages may not be displayed" > > In the samba logfile I see one error, don't now if it is realted though: > > [2010/03/17 10:57:22.771269, 3] smbd/error.c:76(error_packet_set) > error packet at smbd/trans2.c(4130) cmd=50 (SMBtrans2) > NT_STATUS_INVALID_LEVEL > [2010/03/17 10:57:22.771592, 5] lib/util.c:617(show_msg) > [2010/03/17 10:57:22.771727, 5] lib/util.c:620(show_msg) > size=35 > smb_com=0x32 > smb_rcls=72 > smb_reh=1 > smb_err=49152 > smb_flg=136 > smb_flg2=51203 > smb_tid=1 > smb_pid=1044 > smb_uid=101 > smb_mid=74 > smt_wct=0 > smb_bcc=0 > [2010/03/17 10:57:22.773226, 10] > lib/util_sock.c:726(read_smb_length_return_keepalive) > got smb length of 224 > > All this is done on a 'windows 7 only' samba machine, I had no luck > to install the driver in an environment with x86 drivers already > installed, there was no way to get 'rpcclient' to associate the > printqueue with teh driver. > > So as far as I see it windows 64 bit printing is working in > principle but not in a way someone could use it as a service. > > If there is any interest in debug logging output or experiences with > other drivers and/or configurations don't hesitate to send me e-mail > I am mor then willing to be of any use to drive this further, don' > expect any reactions from the list though - surprise me ;)Guenther Deschner <gd at samba.org> is busily working these issues. For specific problems like this, please log a bug so we can make sure it gets fixed. Thanks, Jeremy.