[Samba] Sudden printer errors

Matthew Daubenspeck matt at oddprocess.org
Fri Apr 17 11:11:53 MDT 2015


I'm using Samba 4.2.0 and cups 2.0.2. I have had the same print server
and config since the early 3.x days and have never had an issue. Now
suddenly, any new printers added to cups can no longer be installed in
Windows. XP clients give a generic "Windows cannot connect to the
printer. Either the printer name was typed incorrectly, or the specified
priner has lost its connection to the server."

Windows 7 and 8 are the same. The strange part is that printers
that were added to cups prior to this week can be installed fine. Any
new cups printers added now will not install. I have a very simple
smb.conf:

[global]
        netbios name = hal
        workgroup = CAMPUS
        log file = /var/log/samba/log.%m
        max log size = 100
        security = user
        load printers = yes
        printing = CUPS
        printcap = CUPS
        hosts allow = 172.17., 127., 172.26.
        map to guest = Bad User

[printers]
        comment = All printers
        printable = yes
        path = /var/spool/samba
        browseable = no
        guest ok = yes
        public = yes
        use client driver = yes
        force user = nobody

There are currently 113 printers installed, and those previous printers
work as expected with no issues. Just suddenly anything added to cups
cannot be installed. Any suggestions? I turned up the log levels and
can't seem anything specific that would point to the problem.


More information about the samba mailing list