[Samba] Unable to add Point and Print printers to clients with Windows 8.1 and up
winfr34k at gmail.com
Sun Feb 26 15:08:01 UTC 2023
I can finally ditch Windows 7 in my Samba AD DC based setup. unfortunately, adding printers from my Samba-based print server (separate server, member in the domain) does not work.
My print server shows up fine on Windows 8.1 and Windows 10, all printers are there and even copying the driver seems to complete successfully.
However, right in the very last step when it configures the print queue, I'm getting this error:
A policy is in effect on your computer which prevents you from connecting to this print queue. Please contact your system administrator.
Now, I _am_ the systems administrator and I can't remember setting any such policy :^)
Joking aside, of course, I've followed the GPO recommendations the Samba Wiki provides. I've also tried a more recent driver and adding the requested policy to the default domain policy to aid in application.
From what I can see in the client's registry, the GPO is applied as desired. No obvious errors are present anywhere. Searching the Samba mailing list brought me to other fitting entries with Sharp printers, but those hints couldn't resolve my problems. I've double checked my DNS settings and I've confirmed to have proper Forward and Reverse Lookup Zones.
I'm using Samba 4.13.13-Debian on Debian 11.6 on all Samba systems.
Any help, pointers or experiences that could help me resolve this issue (or at the very least, to understand what's actually going on) would be deeply appreciated.
P.S. My setup is still almost the same as it was in 2017, except that I followed Louis' advice and my fileserver is doing WINS now.
 Don't worry, I want to move to Windows 10/11, the Windows 8 one was just a "last resort test installation" because that used to work circa 2018. All installations have been fully patched.
 SHARP MX-3060V, "PCL6/PS/PPD Printer-Driver for Windows, version 2103a, WIN 64": https://apps.sharp.de/cps/rde/xbcr/documents/documents/Service_Information/Drivers/MX_D54_PCL6_PS_2103a_German_64bit.exe
 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
 https://marc.info/?l=samba&m=163819340601616&w=2 and following
More information about the samba