Hi, I have problems setting up the printer drivers using samba. I use a fresh setup of Samba Version 4.11.4-SerNet-Debian-6.buster and followed * https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member * https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server * .../Setting_up_Automatic_Printer_Driver_Downloads_for_Windows_Clients Cups is the default debian setup with only one printer added via lpd. The printer model is KONICA MINOLTA C364e and the driver is KONICA MINOLTA C364SeriesPCL version 5.3.0.500; Type 3 - User mode. At the end of Setting_up_Samba_as_a_Print_Server I was able to install the printer on a Win 10 client using double click and manual driver selection and print a test page. After the step "Assigning a Driver to a Printer" on Setting_up_Automatic_Printer_Driver_Downloads_for_Windows_Clients (Tried both print management and rpcclient) I got the following situation. (All messages translated from german) When opening the printer properties from print management I get the popup [Window Title] Printer Properties [Main Instruction] The "KONICA MINOLTA C364SeriesPCL" printer driver is not installed on this computer. Some printer properties will not be accessible unless you install the printer driver. Do you want to install the driver now? [Yes] [No] When pressing yes, the Add Printer Driver Wizard opens. I follow the wizard to install exactly the same driver like the one I added to print$. Then the properties open, but without the driver additions. When I reopen the properties, the popup appears again. When trying to print the windows test page, this message pops up: [Window Title] Printer Properties [Main Instruction] Test page failed to print. Would you like to view the print troubleshooter for assistance? The procedure number is out of range. [Yes] [No] In the clients event log, this entry is logged: Windows could not load print processor KOAYTJ_P because EnumDatatypes failed. Error code 126. Module: C:\WINDOWS\system32\spool\PRTPROCS\x64\KOAYTJ_P.DLL. Please obtain and install a new version of the driver from the manufacturer (if available), or choose an alternate driver that works with this print device I noticed, that on my Windows 2008 R2 reference system, in the printer management drivers list, the drivers print processor is set to KOAYTJ_P, on samba it is winprint. Not sure if related, the fax driver for the printer uses winprint on the reference system and has the same behaviour on samba. Is there anything I am missing? Thanks in advance, Christian # find /srv/samba/printers /srv/samba/printers /srv/samba/printers/x64 /srv/samba/printers/x64/3 /srv/samba/printers/x64/3/KOAYTJ_J.DLL /srv/samba/printers/x64/3/KOAYTJ_W.DLL /srv/samba/printers/x64/3/KOAYTJ__.KPD /srv/samba/printers/x64/3/KOAYTJ__.mg /srv/samba/printers/x64/3/KOAYTJ_F.DLL /srv/samba/printers/x64/3/KOAYTJ_C.KMP /srv/samba/printers/x64/3/KOAYTJ_J.ini /srv/samba/printers/x64/3/KOAYTJ_A.KMP /srv/samba/printers/x64/3/KOAYTJ__.yg /srv/samba/printers/x64/3/KOAYTJ__.md /srv/samba/printers/x64/3/KOAYTJ_B.DLL /srv/samba/printers/x64/3/KOAYTJ__.kg /srv/samba/printers/x64/3/KOAYTJ_C.DLL /srv/samba/printers/x64/3/KOAYTJ__.kd /srv/samba/printers/x64/3/KOAYTJ_Y.DLL /srv/samba/printers/x64/3/KOAYTJ_O.DLL /srv/samba/printers/x64/3/KOAYTJ_G.KMP /srv/samba/printers/x64/3/KOAYTJ_N.DLL /srv/samba/printers/x64/3/KOAYTJ_U.DLL /srv/samba/printers/x64/3/KOAYTJ_F.KMP /srv/samba/printers/x64/3/KOAYTJ_M.KPD /srv/samba/printers/x64/3/KOAYTJ__.cd /srv/samba/printers/x64/3/KOAYTJ_E.KMP /srv/samba/printers/x64/3/KOAYTJ__.yd /srv/samba/printers/x64/3/KOBDrvAPIW64.exe /srv/samba/printers/x64/3/KOAYTJ_B.KMP /srv/samba/printers/x64/3/KOAYTJ_S.DLL /srv/samba/printers/x64/3/KOAYTJ_G.DLL /srv/samba/printers/x64/3/KOAYTJ_T.dll /srv/samba/printers/x64/3/KOAYTJ__.cg /srv/samba/printers/x64/3/KOAYTJ_D.KPD /srv/samba/printers/x64/3/KOAYTJ_D.KMP /srv/samba/printers/x64/3/KOAYTJ_M.DLL /srv/samba/printers/x64/3/KOAYTJ_W.EXE /srv/samba/printers/x64/3/KOAYTJ__.yud /srv/samba/printers/x64/3/KOAYTJ__.kud /srv/samba/printers/x64/3/KOBDrvAPIIF.dll /srv/samba/printers/x64/3/KOAYTJ__.mud /srv/samba/printers/x64/3/KOAYTJ_D.DLL /srv/samba/printers/x64/3/KOAYTJ_Q.DLL /srv/samba/printers/x64/3/KOAYTJ_P.DLL /srv/samba/printers/x64/3/KOAYTJ_R.DLL /srv/samba/printers/x64/3/KOAYTJ_X.DLL /srv/samba/printers/x64/3/KOAYTJ_K.DLL /srv/samba/printers/x64/3/KOAYTJ__.CHM /srv/samba/printers/x64/3/KOAYTJ__.cud /srv/samba/printers/x64/3/KOAYTJ_F.fl /srv/samba/printers/x64/3/KOBDrvAPIIF32.dll /srv/samba/printers/x64/3/KOAYTJ_E.DLL /srv/samba/printers/x64/3/KOAYTJ_C.KPD /srv/samba/printers/x64/3/KOAYTJ__.UNF smb.conf: [global] security = ADS realm = SAMDOM.EXAMPLE.COM (redacted) workgroup = SAMDOM (redacted) idmap config * : backend = tdb idmap config * : range = 3000-7999 winbind refresh tickets = Yes vfs objects = acl_xattr map acl inherit = Yes store dos attributes = Yes acl_xattr: default acl style = windows winbind use default domain = yes winbind enum users = yes winbind enum groups = yes username map = /etc/samba/user.map log file = /var/log/samba/log.%m log level = 6 rpc_server:spoolss = external rpc_daemon:spoolssd = fork spoolss: architecture = Windows x64 printing = CUPS printcap name = cups load printers = yes #enumports command = /etc/samba/printerports.sh cups options = "raw media=a4" [printers] comment = All Printers path = /var/spool/samba printable = yes read only = no acl_xattr:ignore system acl = yes [print$] comment = Printer Drivers path = /srv/samba/printers read only = no acl_xattr:ignore system acl = yes -- ifu Hamburg - Member of iPoint Group "Productivity meets Sustainability" ifu Institut f?r Umweltinformatik Hamburg GmbH Max-Brauer-Allee 50 - 22765 Hamburg - Germany fon: +49 40 480009-0 - fax: +49 40 480009-22 - email: info at ifu.com Managing Director: Jan Hedemann - Commercial Register: Hamburg, HRB 52629 www.ifu.com - www.umberto.de - www.e-sankey.com In der Zeit vom 23.12.2019 bis einschlie?lich 03.01.2020 bleibt das ifu Hamburg geschlossen. Ein Notdienst ist eingerichtet. Alle Mitarbeiter des ifu w?nschen Ihnen eine frohe Weihnachtszeit! In the period from 23rd of December 2019 until the 3rd of January 2020 ifu Hamburg will remain closed. An emergency service has been set up. All ifu employees wish you a merry christmas time!
Hai, Nope, this is a bug.. You did it all right. Im running the (about) same setup, but printerdriver uploading fails in a lot of places. But im not sure where exactly. I suggest, report it also in bugzilla.samba.org Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Christian Haase via samba > Verzonden: dinsdag 17 december 2019 14:15 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Hosted printer drivers can not be used > > Hi, > > I have problems setting up the printer drivers using samba. I use a > fresh setup of Samba Version 4.11.4-SerNet-Debian-6.buster > and followed > > * > https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member > * https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server > * > .../Setting_up_Automatic_Printer_Driver_Downloads_for_Windows_Clients > > Cups is the default debian setup with only one printer added via lpd. > The printer model is KONICA MINOLTA C364e and the driver is KONICA > MINOLTA C364SeriesPCL version 5.3.0.500; Type 3 - User mode. > > At the end of Setting_up_Samba_as_a_Print_Server I was able to install > the printer on a Win 10 client using double click and manual driver > selection and print a test page. > > After the step "Assigning a Driver to a Printer" on > Setting_up_Automatic_Printer_Driver_Downloads_for_Windows_Clie > nts (Tried > both print management and rpcclient) I got the following situation. > > (All messages translated from german) > > When opening the printer properties from print management I > get the popup > > [Window Title] > Printer Properties > > [Main Instruction] > The "KONICA MINOLTA C364SeriesPCL" printer driver is not installed on > this computer. Some printer properties will not be accessible > unless you > install the printer driver. Do you want to install the driver now? > > [Yes] [No] > > When pressing yes, the Add Printer Driver Wizard opens. I follow the > wizard to install exactly the same driver like the one I added to > print$. Then the properties open, but without the driver > additions. When > I reopen the properties, the popup appears again. > > When trying to print the windows test page, this message pops up: > > [Window Title] > Printer Properties > > [Main Instruction] > Test page failed to print. Would you like to view the print > troubleshooter for assistance? > > The procedure number is out of range. > > [Yes] [No] > > In the clients event log, this entry is logged: > Windows could not load print processor KOAYTJ_P because EnumDatatypes > failed. Error code 126. Module: > C:\WINDOWS\system32\spool\PRTPROCS\x64\KOAYTJ_P.DLL. Please obtain and > install a new version of the driver from the manufacturer (if > available), or choose an alternate driver that works with > this print device > > I noticed, that on my Windows 2008 R2 reference system, in the printer > management drivers list, the drivers print processor is set > to KOAYTJ_P, > on samba it is winprint. Not sure if related, the fax driver for the > printer uses winprint on the reference system and has the > same behaviour > on samba. > > Is there anything I am missing? > > Thanks in advance, > Christian > > # find /srv/samba/printers > /srv/samba/printers > /srv/samba/printers/x64 > /srv/samba/printers/x64/3 > /srv/samba/printers/x64/3/KOAYTJ_J.DLL > /srv/samba/printers/x64/3/KOAYTJ_W.DLL > /srv/samba/printers/x64/3/KOAYTJ__.KPD > /srv/samba/printers/x64/3/KOAYTJ__.mg > /srv/samba/printers/x64/3/KOAYTJ_F.DLL > /srv/samba/printers/x64/3/KOAYTJ_C.KMP > /srv/samba/printers/x64/3/KOAYTJ_J.ini > /srv/samba/printers/x64/3/KOAYTJ_A.KMP > /srv/samba/printers/x64/3/KOAYTJ__.yg > /srv/samba/printers/x64/3/KOAYTJ__.md > /srv/samba/printers/x64/3/KOAYTJ_B.DLL > /srv/samba/printers/x64/3/KOAYTJ__.kg > /srv/samba/printers/x64/3/KOAYTJ_C.DLL > /srv/samba/printers/x64/3/KOAYTJ__.kd > /srv/samba/printers/x64/3/KOAYTJ_Y.DLL > /srv/samba/printers/x64/3/KOAYTJ_O.DLL > /srv/samba/printers/x64/3/KOAYTJ_G.KMP > /srv/samba/printers/x64/3/KOAYTJ_N.DLL > /srv/samba/printers/x64/3/KOAYTJ_U.DLL > /srv/samba/printers/x64/3/KOAYTJ_F.KMP > /srv/samba/printers/x64/3/KOAYTJ_M.KPD > /srv/samba/printers/x64/3/KOAYTJ__.cd > /srv/samba/printers/x64/3/KOAYTJ_E.KMP > /srv/samba/printers/x64/3/KOAYTJ__.yd > /srv/samba/printers/x64/3/KOBDrvAPIW64.exe > /srv/samba/printers/x64/3/KOAYTJ_B.KMP > /srv/samba/printers/x64/3/KOAYTJ_S.DLL > /srv/samba/printers/x64/3/KOAYTJ_G.DLL > /srv/samba/printers/x64/3/KOAYTJ_T.dll > /srv/samba/printers/x64/3/KOAYTJ__.cg > /srv/samba/printers/x64/3/KOAYTJ_D.KPD > /srv/samba/printers/x64/3/KOAYTJ_D.KMP > /srv/samba/printers/x64/3/KOAYTJ_M.DLL > /srv/samba/printers/x64/3/KOAYTJ_W.EXE > /srv/samba/printers/x64/3/KOAYTJ__.yud > /srv/samba/printers/x64/3/KOAYTJ__.kud > /srv/samba/printers/x64/3/KOBDrvAPIIF.dll > /srv/samba/printers/x64/3/KOAYTJ__.mud > /srv/samba/printers/x64/3/KOAYTJ_D.DLL > /srv/samba/printers/x64/3/KOAYTJ_Q.DLL > /srv/samba/printers/x64/3/KOAYTJ_P.DLL > /srv/samba/printers/x64/3/KOAYTJ_R.DLL > /srv/samba/printers/x64/3/KOAYTJ_X.DLL > /srv/samba/printers/x64/3/KOAYTJ_K.DLL > /srv/samba/printers/x64/3/KOAYTJ__.CHM > /srv/samba/printers/x64/3/KOAYTJ__.cud > /srv/samba/printers/x64/3/KOAYTJ_F.fl > /srv/samba/printers/x64/3/KOBDrvAPIIF32.dll > /srv/samba/printers/x64/3/KOAYTJ_E.DLL > /srv/samba/printers/x64/3/KOAYTJ_C.KPD > /srv/samba/printers/x64/3/KOAYTJ__.UNF > > smb.conf: > [global] > security = ADS > realm = SAMDOM.EXAMPLE.COM (redacted) > workgroup = SAMDOM (redacted) > > idmap config * : backend = tdb > idmap config * : range = 3000-7999 > > winbind refresh tickets = Yes > vfs objects = acl_xattr > map acl inherit = Yes > store dos attributes = Yes > acl_xattr: default acl style = windows > > winbind use default domain = yes > > winbind enum users = yes > winbind enum groups = yes > > username map = /etc/samba/user.map > > log file = /var/log/samba/log.%m > log level = 6 > > rpc_server:spoolss = external > rpc_daemon:spoolssd = fork > spoolss: architecture = Windows x64 > > printing = CUPS > printcap name = cups > load printers = yes > #enumports command = /etc/samba/printerports.sh > cups options = "raw media=a4" > > [printers] > comment = All Printers > path = /var/spool/samba > printable = yes > read only = no > acl_xattr:ignore system acl = yes > > [print$] > comment = Printer Drivers > path = /srv/samba/printers > read only = no > acl_xattr:ignore system acl = yes > > -- > ifu Hamburg - Member of iPoint Group > "Productivity meets Sustainability" > > ifu Institut f?r Umweltinformatik Hamburg GmbH > Max-Brauer-Allee 50 - 22765 Hamburg - Germany > fon: +49 40 480009-0 - fax: +49 40 480009-22 - email: info at ifu.com > > Managing Director: Jan Hedemann - Commercial Register: > Hamburg, HRB 52629 > www.ifu.com - www.umberto.de - www.e-sankey.com > > In der Zeit vom 23.12.2019 bis einschlie?lich 03.01.2020 bleibt das > ifu Hamburg geschlossen. Ein Notdienst ist eingerichtet. > Alle Mitarbeiter des ifu w?nschen Ihnen eine frohe Weihnachtszeit! > > In the period from 23rd of December 2019 until the 3rd of January 2020 > ifu Hamburg will remain closed. An emergency service has been set up. > All ifu employees wish you a merry christmas time! > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
On 17/12/2019 13:15, Christian Haase via samba wrote:> Hi, > > I have problems setting up the printer drivers using samba. I use a > fresh setup of Samba Version 4.11.4-SerNet-Debian-6.buster and followed > > * https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member > > Is there anything I am missing? > > > > smb.conf: > [global] > security = ADS > realm = SAMDOM.EXAMPLE.COM (redacted) > workgroup = SAMDOM (redacted) > > idmap config * : backend = tdb > idmap config * : range = 3000-7999Whilst you have read 'Setting_up_Samba_as_a_Domain_Member', you seem to have missed the part about setting up the 'idmap config' lines for the 'SAMDOM' domain, or are you using sssd ? Rowland
> > > > smb.conf: > > [global] > > security = ADS > > realm = SAMDOM.EXAMPLE.COM (redacted) > > workgroup = SAMDOM (redacted) > > > > idmap config * : backend = tdb > > idmap config * : range = 3000-7999 > > Whilst you have read 'Setting_up_Samba_as_a_Domain_Member', > you seem to > have missed the part about setting up the 'idmap config' > lines for the > 'SAMDOM' domain, or are you using sssd ? > > RowlandYes, i seen that also, but this is not a problem of configs but code in samba. I have the same problem here. :-( Ow.. Wait... @Christian Your using the wrong driver here. Try this one, the Universal driver: 3.6.0.0 Dec 13, 2019 PCL6 That one worked for me, just installed it, i almost felt out of my chair.. The one you tried failed here also. This is the first driver that worked for me in months.. At least no i have something to compair.. Greetz, Louis
On 17/12/2019 14:20, L.P.H. van Belle via samba wrote:>>> smb.conf: >>> [global] >>> security = ADS >>> realm = SAMDOM.EXAMPLE.COM (redacted) >>> workgroup = SAMDOM (redacted) >>> >>> idmap config * : backend = tdb >>> idmap config * : range = 3000-7999 >> Whilst you have read 'Setting_up_Samba_as_a_Domain_Member', >> you seem to >> have missed the part about setting up the 'idmap config' >> lines for the >> 'SAMDOM' domain, or are you using sssd ? >> >> Rowland > Yes, i seen that also, but this is not a problem of configs but code in samba. > I have the same problem here. :-(Well yes, you may have, but at least Samba will know who your users are ;-) This needs fixing before the printers can be. Rowland
Mandi! Christian Haase via samba In chel di` si favelave...> Cups is the default debian setup with only one printer added via lpd. > The printer model is KONICA MINOLTA C364e and the driver is KONICA > MINOLTA C364SeriesPCL version 5.3.0.500; Type 3 - User mode.I've spent many time on Konica minolta drivers, but seems that simply does not work for point'n'print, or at least need administrators permission to install properly the driver on the client. I've successfully installer drivers on print$ share, but still i install it on client via a SCM (WPKG). FYI. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
Hi Louis,> Ow.. Wait... @Christian > Your using the wrong driver here. > > Try this one, the Universal driver: 3.6.0.0 Dec 13, 2019 PCL6 > > That one worked for me, just installed it, i almost felt out of my chair.. > The one you tried failed here also. This is the first driver that worked for me in months..Hmm interesting.. This driver does not work for me either. Well I file this as a bug Cheers, Christian -- ifu Hamburg - Member of iPoint Group "Productivity meets Sustainability" ifu Institut f?r Umweltinformatik Hamburg GmbH Max-Brauer-Allee 50 - 22765 Hamburg - Germany fon: +49 40 480009-0 - fax: +49 40 480009-22 - email: info at ifu.com Managing Director: Jan Hedemann - Commercial Register: Hamburg, HRB 52629 www.ifu.com - www.umberto.de - www.e-sankey.com In der Zeit vom 23.12.2019 bis einschlie?lich 03.01.2020 bleibt das ifu Hamburg geschlossen. Ein Notdienst ist eingerichtet. Alle Mitarbeiter des ifu w?nschen Ihnen eine frohe Weihnachtszeit! In the period from 23rd of December 2019 until the 3rd of January 2020 ifu Hamburg will remain closed. An emergency service has been set up. All ifu employees wish you a merry christmas time!
Hai Christian, Hm,, you tried that Universal driver and it did not work for you,. .. :-/ That worked fine for me, so its one to have a better look at. I saw you used acl_xattr:ignore system acl also. After you changed smb.conf, did you re-apply also the rights on the shares? Try it in this order, first setup the share and correct the rights. Then correct the rights on the file system, but only use windows for it. I instaled that driver on a Debian Buster, samba 4.11.3 server and i was able to publish it to my windows 7 and 10 clients. Did you get any other error messages, or anything in the logs? And offcourse, increasing the log level might help to see whats going. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Christian Haase via samba > Verzonden: woensdag 18 december 2019 14:27 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Hosted printer drivers can not be used > > Hi Louis, > > > Ow.. Wait... @Christian > > Your using the wrong driver here. > > > > Try this one, the Universal driver: 3.6.0.0 Dec 13, > 2019 PCL6 > > > > That one worked for me, just installed it, i almost felt > out of my chair.. > > The one you tried failed here also. This is the first > driver that worked for me in months.. > Hmm interesting.. This driver does not work for me either. > Well I file this as a bug > > Cheers, > Christian > > -- > ifu Hamburg - Member of iPoint Group > "Productivity meets Sustainability" > > ifu Institut f?r Umweltinformatik Hamburg GmbH > Max-Brauer-Allee 50 - 22765 Hamburg - Germany > fon: +49 40 480009-0 - fax: +49 40 480009-22 - email: info at ifu.com > > Managing Director: Jan Hedemann - Commercial Register: > Hamburg, HRB 52629 > www.ifu.com - www.umberto.de - www.e-sankey.com > > In der Zeit vom 23.12.2019 bis einschlie?lich 03.01.2020 bleibt das > ifu Hamburg geschlossen. Ein Notdienst ist eingerichtet. > Alle Mitarbeiter des ifu w?nschen Ihnen eine frohe Weihnachtszeit! > > In the period from 23rd of December 2019 until the 3rd of January 2020 > ifu Hamburg will remain closed. An emergency service has been set up. > All ifu employees wish you a merry christmas time! > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >