Piviul
2020-Oct-29 16:01 UTC
[Samba] problems accessing samba shared printers from win32 clients
Hi all, I would like to use samba shared printers from win32 clients but I can't. I can'install drivers or access shared printers from win32 clients: on the logs I can find the error> [2020/10/29 15:41:20.197881, 0] ../source3/smbd/trans2.c:3447(smbd_do_qfsinfo) > smbd_do_qfsinfo: not an allowed info level (0x102) on IPC$.win 64 bit clients can install and use printers without problems. Someone can help me to troubleshoot the problem? Thank you very much Piviul
Marco Gaiarin
2020-Oct-30 09:02 UTC
[Samba] problems accessing samba shared printers from win32 clients
Mandi! Piviul via samba In chel di` si favelave...> Someone can help me to troubleshoot the problem?If i remember well, if the driver architecture is 64 bit as: spoolss: architecture = Windows x64 (but i suppose that in recent samba version is the default...) you have to load first the 64bit driver, and only after that the 32bit. Also: you have trouble 'loading' the driver server side (mostly caused by buggy driver; try other type/version/...), or associating drivers to printers? -- 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)
Piviul
2020-Oct-30 11:26 UTC
[Samba] problems accessing samba shared printers from win32 clients
Marco Gaiarin via samba ha scritto il 30/10/20 alle 10:02:> Mandi! Piviul via samba > In chel di` si favelave... > >> Someone can help me to troubleshoot the problem? > > If i remember well, if the driver architecture is 64 bit as: > > spoolss: architecture = Windows x64I don't think you remember correctly ;). From man smb.conf I read> spoolss: architecture (G) > > Windows spoolss print clients only allow association of server-side drivers with printers when the driver > architecture matches the advertised print server architecture. Samba's spoolss print server architecture can be > changed using this parameter. > > Default: spoolss: architecture = Windows NT x86> > (but i suppose that in recent samba version is the default...) you have > to load first the 64bit driver, and only after that the 32bit.Any way I have installed a new samba server and a new printer on the server. From a 64bit client I have installed the 64 and 32 bit drivers and all seems to works correctly: on the server I can find the drivers installed in <path option in print$>/x64/3 for the 64bit version and <path option in print$>/W32X86/3 for the 32 bit version. If I double click on the shared printers from a 64bit client I get the error: "A policy is in effect on your computer which prevents you from connecting to this printer queue". If I double click on the shared printer from a 32 bit client the printer seems to be installed correctly but when I go to the printer properties I get the message that the printer driver is not installed and if I want install a new one. On the logs I can find:> [2020/10/30 11:23:17.823375, 0] ../source3/smbd/trans2.c:3447(smbd_do_qfsinfo) > smbd_do_qfsinfo: not an allowed info level (0x102) on IPC$.If I choose to install a new driver and I choose the same 32bit version of the driver the system says that it is not possible to install the driver. :? Piviul