[cups.general] cups and samba, problem after upgrade to cups 1.3.4
Alexander Bruns
mailinglisten at alexander-bruns.de
Sat Nov 10 09:15:43 PST 2007
Hi,
short:
after the upgrade to cups 1.3.4 cups print this:
E [08/Nov/2007:22:17:28 +0100] Unsupported character set "iso-8859-15"!
E [08/Nov/2007:22:17:28 +0100] Unsupported character set "iso-8859-15"!
E [08/Nov/2007:22:17:29 +0100] Unsupported character set "iso-8859-15"!
in /var/log/cups/error_log
when accessing the printers via samba from a windows XP Client over network.
long:
I am new to this list. The gentoo-forum could not help me and a search
to the mailinglist-archive did not load to a solution for my problem.
My System is gentoo-linux 2007.0. I have a x86_64-Installation on my
Core 2 Duo Box with 8GB ram.
I use cups for accessing my old Laserjet 6P connected to the
parallel-port. I access this cups-printer from local on the linux-box
and via samba from my windows-clients in my network.
This worked like a charm for several years now.
Now for the first time an upgrade to the newest cups-version (marked
stable within portage (from gentoo)) leads to problems.
This is what I did:
I switched from cups-1.2.22 to cups-1.3.4
Now I do not see the cups-printer as a samba-share. But it is accesable
from local on my linux-box. So cups works. But not with samba.
Because it works with samba after a downgrade back to 1.2.22, I think it
is a matter of cups.
In the logfile /var/log/cups/error_log cups prints this message:
E [08/Nov/2007:22:17:28 +0100] Unsupported character set "iso-8859-15"!
E [08/Nov/2007:22:17:28 +0100] Unsupported character set "iso-8859-15"!
E [08/Nov/2007:22:17:29 +0100] Unsupported character set "iso-8859-15"!
Here are my config-files:
Here is my smb.conf:
[global]
workgroup = ENTERPRISE
netbios name = HOLODECK
server string = Server der Enterprise-WG
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = Yes
map to guest = Bad User
log file = /var/log/samba/log.%m
smb passwd file = /etc/samba/private/smbpasswd
# max log size = 50
load printers = Yes
printing = cups
printcap name = cups
# printer admin = @wgusers
dos charset=CP850
unix charset=ISO8859-1
display charset=ISO8859-1
# os level = 33
# preferred master = True
# wins proxy = Yes
oplocks = true
kernel oplocks = yes
level2 oplocks = true
read raw = yes
write raw = yes
log level = 2
veto files = /lost+found/ /.keep*/ /.*/
[printers]
comment = All Printers
path = /var/spool/samba
printer = HPLaserJet6P
browseable = yes
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
Here is my cups.conf:
#
# "$Id: cupsd.conf.in 6720 2007-07-25 00:40:03Z mike $"
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen localhost:631
Listen 192.168.2.254:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
#BrowseAllow @LOCAL
BrowseAllow all
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
</Location>
# Restrict access to the admin pages...
# Restrict access to the admin pages...
<Location /admin>
Encryption Required
Order allow,deny
Allow localhost
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
#AuthType Default
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an administrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class
CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs
CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
# End of "$Id: cupsd.conf.in 6720 2007-07-25 00:40:03Z mike $".
#
Any suggestions whats wrong?
Greetings
Alexander Bruns
More information about the cups
mailing list