CUPS problem

From: MarkA (manthony_at_stopspam.net)
Date: 10/30/05

  • Next message: Enrique Perez-Terron: "Re: KVM Switch doesn't work"
    Date: Sun, 30 Oct 2005 01:24:25 GMT
    
    

    Thanks for reading this far!

    I have a network in my office, with boxes running Win98, WinXP, and a few
    Linux boxes. One box in particular, Elrond, is running Fedora Core 2, and
    I am trying to set it up as a printer server for all the boxes on the
    network.

    Right now, Elrond is configured with a directly connected LaserJet, lp0,
    a color InkJet connected to a box running Win98SE, and a network LaserJet
    with a built-in JetDirect interface. Elrond can print to each of these
    printers without a problem.

    My problem comes up when I try to point another box to Elrond, intending
    to use one of its printers. For example, another box, "Otto", running
    Fedora Core 1, is configured with the same three printers, with the URIs
    referencing Elrond. Elrond will accept printing to its directly connected
    printer, but for one of the "pass-thru" printers, e.g., "color", it
    returns the message "Unable to get printer status
    (client-error-not-authorized)!"

    I have looked thru the cupsd.conf file on Elrond, and can't find anything
    that should be blocking access. In the "printers.conf" file, all three
    printers are configured the same.

    Below is the "cupsd.conf" file from Elrond, minus comment lines. What am
    I missing?

    Note: Elrond = 192.168.1.5
            Otto = 192.168.1.14
    #
    # "$Id: cupsd.conf.in,v 1.13 2003/04/10 20:14:04 mike Exp $"
    #
    LogLevel info
    MaxLogSize 0
    Printcap /etc/printcap
    Browsing Off
    <Location /printers>
    AuthType Basic
    AuthClass System
    Order Deny,Allow
    Deny From All
    Allow From 127.0.0.1
    Allow From 192.168.1.14
    </Location>
    <Location /admin>
    AuthType Basic
    AuthClass System
    Order Deny,Allow
    Deny From All
    Allow From 127.0.0.1
    Allow From 192.168.1.14
    </Location>
    <Location /printers/lp0-auto>
    Order Deny,Allow
    Deny From All
    Allow From 127.0.0.1
    AuthType None
    </Location>

    # Lines below are automatically generated - DO NOT EDIT

    <Location /printers/lp0>
    Order Deny,Allow
    Deny From All
    Allow From 127.0.0.1
    AuthType None
    Allow from 192.168.1.0/255.255.255.0
    </Location>
    <Location />
    Order Deny,Allow
    Deny From All
    Allow From 127.0.0.1
    </Location>
    Browsing On
    BrowseProtocols cups
    BrowseOrder Deny,Allow
    BrowseAllow from @LOCAL
    BrowseAddress 192.168.1.255
    Listen 192.168.1.5:631
    Listen 127.0.0.1:631

    Now, here is "printers.conf" from Elrond:

    # Printer configuration file for CUPS v1.1.20
    # Written by cupsd on Thu 27 Oct 2005 04:28:59 PM EDT
    <Printer color>
    Info HP5940
    Location Nurse's Office
    DeviceURI smb://lauren/HP5940
    State Idle
    Accepting Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    </Printer>
    <Printer hp4000>
    Info network laser printer
    Location business office
    DeviceURI socket://hp4000
    State Idle
    Accepting Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    </Printer>
    <DefaultPrinter lp0>
    Info Created by redhat-config-printer 0.6.x
    Location
    DeviceURI parallel:/dev/lp0
    State Idle
    Accepting Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    </Printer>

    Here is "printers.conf" on Otto:

    # Printer configuration file for CUPS v1.1.19
    # Written by cupsd on Fri 28 Oct 2005 11:37:59 AM EDT
    <Printer color>
    Info Color Ink Jet
    Location Nurse's Office
    DeviceURI ipp://elrond:631/printers/color
    State Idle
    Accepting Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    </Printer>
    <Printer hp4000>
    Info Network laser printer
    Location Front Office
    DeviceURI ipp://elrond:631/printers/hp4000
    State Idle
    Accepting Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    </Printer>
    <DefaultPrinter lp0>
    Info Created by redhat-config-printer 0.6.x
    Location LaserJet 6P - in Dr's office
    DeviceURI ipp://elrond/printers/lp0
    State Idle
    Accepting Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    </Printer>

    -- 
    MarkA
    (still caught in the maze of twisty little passages, all different)
    

  • Next message: Enrique Perez-Terron: "Re: KVM Switch doesn't work"
  • Quantcast