[Samba] problems accessing samba shared printers from win32 clients

Piviul piviul at riminilug.it
Fri Oct 30 11:26:24 UTC 2020

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



More information about the samba mailing list