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.
Greetings, Matthew Daubenspeck!> 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."Any apparmor complaints in the syslog?> 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.-- With best regards, Andrey Repin Saturday, April 18, 2015 02:42:25 Sorry for my terrible english...
On Sat, Apr 18, 2015 at 02:42:45AM +0300, Andrey Repin wrote:> Greetings, Matthew Daubenspeck! > > > 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." > > Any apparmor complaints in the syslog?No, I am not using apparmor.
Hi Matthew, On Fri, 17 Apr 2015 13:11:53 -0400, Matthew Daubenspeck wrote: ...> 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.CUPS recently added new JobPrivateAccess/JobPrivateValues behaviour. I'd suggest that you configure "JobPrivateValues" to "none" to disable it. Also, please check that your server includes the fix for: https://bugzilla.samba.org/show_bug.cgi?id=10808 Cheers, David
On Mon, Apr 20, 2015 at 06:21:22PM +0200, David Disseldorp wrote:> Hi Matthew, > > On Fri, 17 Apr 2015 13:11:53 -0400, Matthew Daubenspeck wrote: > > ... > > 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. > > CUPS recently added new JobPrivateAccess/JobPrivateValues behaviour. > I'd suggest that you configure "JobPrivateValues" to "none" to disable > it. Also, please check that your server includes the fix for: > https://bugzilla.samba.org/show_bug.cgi?id=10808It appears as if it was ported to 4.2.0, which I am using. I have made the changes to cups and the problem still persists.