Configuration: Slackware-current from today (9/5/2019)
CUPS : cups-2.2.11-x86_64-1
SAMBA: samba-4.10.2-x86_64-1
Printing to a printer share in a windows machine fails. Test with
smbclient to check if connection is OK (10.221.100.2 is a printer server, not a networked printer! CIBIO is a Xerox Printer)
Code:
bash-5.0# smbclient -L 10.221.100.2 -U user%password
Sharename Type Comment
--------- ---- -------
C$ Disk Default share
CIBIO Printer CIBIO - Cor
Dados Disk
Scanner Disk
Reconnecting with SMB1 for workgroup listing.
do_connect: Connection to 10.221.100.2 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Unable to connect with SMB1 -- no workgroup available
According to
this thread, the main developer of CUPS blames
samba. I've tried the patch suggested (
--with-experimental-mit-ad-dc in
configure) with no success. Downgraded to samba-4.4.4-x86_64-3.txz (in slackware 14.2) and printing start working. Test with
smbclient gives
Code:
bash-5.0# smbclient -L 10.221.100.2 -U user%password
Domain=[ICAV] OS=[Windows Server 2012 R2 Standard 9600] Server=[Windows Server 2012 R2 Standard 6.3]
Sharename Type Comment
--------- ---- -------
C$ Disk Default share
CIBIO Printer CIBIO - Cor
Dados Disk
Scanner Disk
Connection to 10.221.100.2 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available