Re: Problems getting cups 1.3.7-8 to share printers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I really have to put this print server in place. I thought that by buying RedHat that I would have a system that has been tested and works without too much of banging one's head against a wall. I don't have the money to purchase phone in support to RedHat.

I know that the server and client are communicating. I ran tethereal on both of them.

From the server's side:

0.000000 128.client -> 128.server TCP 60659 > printer [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=310328054 TSER=0 WS=0^M 0.000009 128.server -> 128.client TCP printer > 60659 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0^M

From the client's side:

11.743561 128.client -> 128.server TCP 55341 > printer [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=310286038 TSER=0 WS=0^M 11.744256 128.server -> 128.client TCP printer > 55341 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0^M


selinux and ip2tables are disabled on the server.




On May 7, 2009, at 9:25 AM, Margaret Doll wrote:

I have a new RedHat print server running 2.6.18-128.1.6.el5. I am testing printing across to a RedHat system running 2.4.21-58.ELsmp and a Mac system running 10.5.6

I originally started with the system-config-printer to install the
print queues.  For each print queue  Under Settings I checked

	enabled
	accept
	shared

Under Access Control

	I have set Allow everyone except    - there are no exceptions
listed.

When this did not allow printing across the network to the server,
I started editing /etc/cups/cups.conf.    I do restart cups after each
change in cupsd.conf

The current contents of cups.conf is

MaxLogSize 20000
# Show troubleshooting information in error_log.
LogLevel debug
SystemGroup sys root
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
# (Change '@LOCAL' to 'ALL' if using directed broadcasts from another
subnet.)
BrowseAllow @LOCAL
BrowseAddress @LOCAL
BrowsingLocalProtocols CUPS
BrowseShortNames yes
DefaultShared yes
UseNetworkDefault no
Allow ALL
AuthType None
AuthInfoRequired none
<Location />
Allow From *.subnet.edu
Allow From particularcomputer.edu
# Allow shared printing...
Order allow,deny
Allow all
</Location>
<Location /admin>
Encryption Required
# Restrict access to the admin pages...
Order allow,deny
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job
-Attributes Create-Job-Subscription Renew-Subscription Cancel-
Subscription Get-Noti
fications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-
Job CUPS-Move
-Job>
  Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-
Class CUPS-Del
ete-Class CUPS-Set-Default>
  AuthType Default
  Require user @SYSTEM
  Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-
After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-
Printer Activate-P
rinter Restart-Printer Shutdown-Printer Startup-Printer Promote-Job
Schedule-Job-Af
ter CUPS-Accept-Jobs CUPS-Reject-Jobs>
  AuthType Default
  Require user @SYSTEM
  Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
  Require user @OWNER @SYSTEM
  Order allow,deny
</Limit>
<Limit All>
  Order allow,deny
</Limit>
</Policy>



cupsctl
MaxLogSize=20000
SystemGroup=sys root
BrowsingLocalProtocols=CUPS
BrowseShortNames=yes
DefaultShared=yes
UseNetworkDefault=no
AuthType=None
AuthInfoRequired=none
_debug_logging=1
_remote_admin=0
_remote_any=1
_remote_printers=1
_share_printers=1
_user_cancel_any=0


With these settings, the client RedHat system is still getting the
message that
	
	Network host 'name' is busy, down, or unreachable; will retry in 30
seconds.

The client Mac gets the message:

	Printer Paused.   Yesterday it was getting that access was forbidden.

The cups error_log on the Mac contains

cupsdReadClient: 14 POST / HTTP/1.1
D [07/May/2009:08:38:32 -0400] cupsdAuthorize: No authentication data
provided.
D [07/May/2009:08:38:32 -0400] Get-Printer-Attributes ipp://localhost/
printers/test
D [07/May/2009:08:38:32 -0400] cupsdProcessIPPRequest: 14
status_code=0 (successful-ok)


On the server, I get the following errors at boot time:

May  5 16:10:14 geops2 cupsd[11379]: *** WARNING *** The programme
'cupsd' uses the
Apple Bonjour compatiblity layer of Avahi.
May  5 16:10:14 geops2 cupsd[11379]: *** WARNING *** Please fix your
application to
use the native API of Avahi!
May  5 16:10:14 geops2 cupsd[11379]: *** WARNING *** For more
information see <http
://0pointer.de/avahi-compat?s=libdns_sd&e=cupsd>

D [07/May/2009:08:40:10 -0400] Report: jobs-active=0
D [07/May/2009:08:40:10 -0400] Report: printers=102
D [07/May/2009:08:40:10 -0400] Report: printers-implicit=0
D [07/May/2009:08:40:10 -0400] Report: stringpool-string-count=81388
D [07/May/2009:08:40:10 -0400] Report: stringpool-alloc-bytes=33880
D [07/May/2009:08:40:10 -0400] Report: stringpool-total-bytes=1384952
D [07/May/2009:08:40:10 -0400] cupsdNetIFUpdate: "lo" = localhost...
D [07/May/2009:08:40:10 -0400] cupsdNetIFUpdate: "eth0" = serversname...
D [07/May/2009:08:40:10 -0400] cupsdNetIFUpdate: "lo" = localhost...
D [07/May/2009:08:40:10 -0400] cupsdNetIFUpdate: "eth0" =
fe80::222:19ff:fe2b:7ccc%

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux