|
|

07-18-2008, 04:28 PM
|
|
|
F9 - cups - windows shared printer
I returned my inkjet printer to service after some time and hadn't used
this printer with Linux since F7 if not before F7.
In 'Administration => Printing', I can print test page no problem
(obviously as root). But as a user, I get an error that seems to be
authentication but I can't fix it.
cups in LogLevel debug...
D [18/Jul/2008:09:24:49 -0700] cupsdAcceptClient: 8 from localhost:631
(IPv4)
D [18/Jul/2008:09:24:49 -0700] cupsdReadClient: 8 POST / HTTP/1.1
D [18/Jul/2008:09:24:49 -0700] cupsdAuthorize: No authentication data
provided.
D [18/Jul/2008:09:24:49 -0700] CUPS-Get-Printers
D [18/Jul/2008:09:24:49 -0700] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [18/Jul/2008:09:24:49 -0700] cupsdReadClient: 8 POST / HTTP/1.1
D [18/Jul/2008:09:24:49 -0700] cupsdAuthorize: No authentication data
provided.
D [18/Jul/2008:09:24:49 -0700] CUPS-Get-Classes
D [18/Jul/2008:09:24:49 -0700] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [18/Jul/2008:09:24:49 -0700] cupsdReadClient: 8 POST / HTTP/1.1
D [18/Jul/2008:09:24:49 -0700] cupsdAuthorize: No authentication data
provided.
D [18/Jul/2008:09:24:49 -0700] CUPS-Get-Default
D [18/Jul/2008:09:24:49 -0700] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [18/Jul/2008:09:24:52 -0700] cupsdReadClient: 8
POST /printers/officejet HTTP/1.1
D [18/Jul/2008:09:24:52 -0700] cupsdAuthorize: No authentication data
provided.
D [18/Jul/2008:09:24:52 -0700] Print-Job
ipp://localhost/printers/officejet
D [18/Jul/2008:09:24:52 -0700] print_job: auto-typing file...
E [18/Jul/2008:09:24:52 -0700] Print-Job: Unauthorized
D [18/Jul/2008:09:24:52 -0700] cupsdSendError: 8 code=401 (Unauthorized)
D [18/Jul/2008:09:24:52 -0700] cupsdSendHeader: WWW-Authenticate:
Negotiate
and appropriate section of cupsd.conf...
<Location /printers/officejet>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.0
AuthType None
</Location>
which clearly tells me that no authentication should be necessary
How do I fix this?
Craig
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-20-2008, 01:29 PM
|
|
|
F9 - cups - windows shared printer
Craig White wrote:
I returned my inkjet printer to service after some time and hadn't used
this printer with Linux since F7 if not before F7.
In 'Administration => Printing', I can print test page no problem
(obviously as root). But as a user, I get an error that seems to be
authentication but I can't fix it.
cups in LogLevel debug...
D [18/Jul/2008:09:24:49 -0700] cupsdAcceptClient: 8 from localhost:631
(IPv4)
D [18/Jul/2008:09:24:49 -0700] cupsdReadClient: 8 POST / HTTP/1.1
D [18/Jul/2008:09:24:49 -0700] cupsdAuthorize: No authentication data
provided.
D [18/Jul/2008:09:24:49 -0700] CUPS-Get-Printers
D [18/Jul/2008:09:24:49 -0700] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [18/Jul/2008:09:24:49 -0700] cupsdReadClient: 8 POST / HTTP/1.1
D [18/Jul/2008:09:24:49 -0700] cupsdAuthorize: No authentication data
provided.
D [18/Jul/2008:09:24:49 -0700] CUPS-Get-Classes
D [18/Jul/2008:09:24:49 -0700] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [18/Jul/2008:09:24:49 -0700] cupsdReadClient: 8 POST / HTTP/1.1
D [18/Jul/2008:09:24:49 -0700] cupsdAuthorize: No authentication data
provided.
D [18/Jul/2008:09:24:49 -0700] CUPS-Get-Default
D [18/Jul/2008:09:24:49 -0700] cupsdProcessIPPRequest: 8 status_code=0
(successful-ok)
D [18/Jul/2008:09:24:52 -0700] cupsdReadClient: 8
POST /printers/officejet HTTP/1.1
D [18/Jul/2008:09:24:52 -0700] cupsdAuthorize: No authentication data
provided.
D [18/Jul/2008:09:24:52 -0700] Print-Job
ipp://localhost/printers/officejet
D [18/Jul/2008:09:24:52 -0700] print_job: auto-typing file...
E [18/Jul/2008:09:24:52 -0700] Print-Job: Unauthorized
D [18/Jul/2008:09:24:52 -0700] cupsdSendError: 8 code=401 (Unauthorized)
D [18/Jul/2008:09:24:52 -0700] cupsdSendHeader: WWW-Authenticate:
Negotiate
and appropriate section of cupsd.conf...
<Location /printers/officejet>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.0
AuthType None
</Location>
which clearly tells me that no authentication should be necessary
How do I fix this?
i am not using f9, nor windows. i do use cups under another system, but
not this one so i can not look at conf files.
from above, i have a question. what would happen if you changed above
to read;
<Location /printers/officejet>
Order Allow,Deny
Allow From 127.0.0.1
Allow From 192.168.2.0
Deny From All
AuthType None
</Location>
this is logic order of 'host' allow then deny.
just a thought.
--
tc,hago.
g
.
in a free world without fences, who needs gates.
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-20-2008, 01:50 PM
|
|
|
F9 - cups - windows shared printer
g wrote:
<snip>
and appropriate section of cupsd.conf...
<Location /printers/officejet>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.0
AuthType None
</Location>
which clearly tells me that no authentication should be necessary
How do I fix this?
i am not using f9, nor windows. i do use cups under another system, but
not this one so i can not look at conf files.
from above, i have a question. what would happen if you changed above
to read;
<Location /printers/officejet>
Order Allow,Deny
Allow From 127.0.0.1
Allow From 192.168.2.0
Deny From All
AuthType None
</Location>
this is logic order of 'host' allow then deny.
just a thought.
in thinking about above, i checked cups.conf and found that,
<Policy default>
<Limit Pause-Printer Resume-Printer
<Limit Cancel-Job CUPS-Authenticate-Job>
<Limit All>
are in 'deny,allow' order, rest are 'allow,deny' order.
so this makes me wonder why an order of 'allow,deny' would not be used
in all cases.
--
tc,hago.
g
.
in a free world without fences, who needs gates.
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-20-2008, 05:56 PM
|
|
|
F9 - cups - windows shared printer
On Sun, 2008-07-20 at 13:50 +0000, g wrote:
> g wrote:
> <snip>
> >> and appropriate section of cupsd.conf...
> >>
> >> <Location /printers/officejet>
> >> Order Deny,Allow
> >> Deny From All
> >> Allow From 127.0.0.1
> >> Allow From 192.168.2.0
> >> AuthType None
> >> </Location>
> >>
> >> which clearly tells me that no authentication should be necessary
> >>
> >> How do I fix this?
> >
> > i am not using f9, nor windows. i do use cups under another system, but
> > not this one so i can not look at conf files.
> >
> > from above, i have a question. what would happen if you changed above
> > to read;
> >
> > <Location /printers/officejet>
> > Order Allow,Deny
> > Allow From 127.0.0.1
> > Allow From 192.168.2.0
> > Deny From All
> > AuthType None
> > </Location>
> >
> > this is logic order of 'host' allow then deny.
> >
> > just a thought.
>
> in thinking about above, i checked cups.conf and found that,
>
> <Policy default>
> <Limit Pause-Printer Resume-Printer
> <Limit Cancel-Job CUPS-Authenticate-Job>
> <Limit All>
>
> are in 'deny,allow' order, rest are 'allow,deny' order.
>
> so this makes me wonder why an order of 'allow,deny' would not be used
> in all cases.
----
actually, somehow, this...
AuthInfoRequired negotiate
got into /etc/cups/printers.conf in the printer definition and removing
the line completely solved it.
I have no idea how it got there
Craig
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-20-2008, 06:07 PM
|
|
|
F9 - cups - windows shared printer
Craig White wrote:
<snip>
AuthInfoRequired negotiate
got into /etc/cups/printers.conf in the printer definition and removing
the line completely solved it.
I have no idea how it got there
because you use a computer and it forgot "1st law"?
interesting anyway.
do printers set up with this install. i use it just for internet. will
check files under other installs. will be interesting to see what they
have.
glad you got it working.
later.
--
tc,hago.
g
.
in a free world without fences, who needs gates.
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-22-2008, 04:12 AM
|
|
|
F9 - cups - windows shared printer
On Sun, 2008-07-20 at 18:07 +0000, g wrote:
> Craig White wrote:
> <snip>
> > AuthInfoRequired negotiate
> >
> > got into /etc/cups/printers.conf in the printer definition and removing
> > the line completely solved it.
> >
> > I have no idea how it got there
>
> because you use a computer and it forgot "1st law"?
>
> interesting anyway.
>
> do printers set up with this install. i use it just for internet. will
> check files under other installs. will be interesting to see what they
> have.
>
> glad you got it working.
----
sometimes, I haven't a clue to references that you make - i.e. - 1st
law?
I routinely set up cups to offer print queues for users whether Linux
(automatic discovery, automatic setup), Macintosh (via cups or via
netatalk) and Windows (via Samba, providing APW) and cups has been a
remarkable print server/service with very few problems.
Obviously I try to stay away from editing the cups config files by hand
because they tend to get trampled on by cups configuration tools
(http://localhost:631) or via system-config-printer (which finally seems
to live in peace alongside cups configuration tools).
Something, somewhere, somehow entered that line in the printers.conf
file (AuthInfoRequired negotiate) as I am quite certain that I didn't
put it in there - not even from an errant selection in one of the above
mentioned configuration tools.
Anyway, c'est la vie - that's what I get for not raking through the
config files with emacs and relying upon the gui tools
Craig
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-22-2008, 05:10 AM
|
|
|
F9 - cups - windows shared printer
Craig White wrote:
<snip>
sometimes, I haven't a clue to references that you make - i.e. - 1st
law?
execute as instructed.
which is where i have found assembler to be better at than using an
'interpreter/compiler'.
if you can understand 'machine code', using assembler makes for a closer
relationship with processor.
where as with interpreter/compiler, you have to depend on how someone
else thinks they know what you want to do.
Obviously I try to stay away from editing the cups config files by hand
because they tend to get trampled on by cups configuration tools
very true. which is where if you do a manual config, _always_ make and
save a backup copy of what you do. then if something breaks, you can
look at what you did and what config tool did and gain a better
understanding of what and how to make a manual change.
fstab is a very good example of this.
Something, somewhere, somehow entered that line in the printers.conf
<snip>
and a prime example of if you make a manual change [not implying that
you did, only if you had] having your own backup of what you did, what
tool had done would have stood out more.
i am still at a wonder of why order of deny before allow in other file.
just does not seem logical. but then i do not know how source writers
set up things for file info is setup to use it.
Anyway, c'est la vie - that's what I get for not raking through the
config files with emacs and relying upon the gui tools
and allowing someone/thing else to interpret what you want.
anyway, it is working and that is what counts.
--
tc,hago.
g
.
in a free world without fences, who needs gates.
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-22-2008, 12:27 PM
|
|
|
F9 - cups - windows shared printer
On Tue, 2008-07-22 at 14:19 +0100, Timothy Murphy wrote:
> Craig White wrote:
>
> > I routinely set up cups to offer print queues for users whether Linux
> > (automatic discovery, automatic setup), Macintosh (via cups or via
> > netatalk) and Windows (via Samba, providing APW) and cups has been a
> > remarkable print server/service with very few problems.
>
> Just a brief observation from a non-techie.
> I've noticed most people who write about using CUPS with Windows machines
> talk of Samba.
> I've found no problem using Windows directly,
> just pointing the printer under Windows to something like
> http://192.168.2.2/printers/lj (in my case).
----
I agree though normally, I handle spooling the other way...printer
connected to Linux, Windows accessing printer via Linux. In this case,
somehow a requirement to authenticate slipped into the printer
configuration
----
>
> > Obviously I try to stay away from editing the cups config files by hand
> > because they tend to get trampled on by cups configuration tools
> > (http://localhost:631) or via system-config-printer (which finally seems
> > to live in peace alongside cups configuration tools).
>
> My impression is that CUPS has improved greatly,
> and it is no longer necessary to edit the CUPS config files directly,
> as it used to be until fairly recently.
----
I think that the issue was using both the cups web interface and
system-config-printer would result in broken configs and that seems to
have been fixed.
Craig
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-22-2008, 01:19 PM
|
|
|
F9 - cups - windows shared printer
Craig White wrote:
> I routinely set up cups to offer print queues for users whether Linux
> (automatic discovery, automatic setup), Macintosh (via cups or via
> netatalk) and Windows (via Samba, providing APW) and cups has been a
> remarkable print server/service with very few problems.
Just a brief observation from a non-techie.
I've noticed most people who write about using CUPS with Windows machines
talk of Samba.
I've found no problem using Windows directly,
just pointing the printer under Windows to something like
http://192.168.2.2/printers/lj (in my case).
> Obviously I try to stay away from editing the cups config files by hand
> because they tend to get trampled on by cups configuration tools
> (http://localhost:631) or via system-config-printer (which finally seems
> to live in peace alongside cups configuration tools).
My impression is that CUPS has improved greatly,
and it is no longer necessary to edit the CUPS config files directly,
as it used to be until fairly recently.
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|

07-22-2008, 02:39 PM
|
|
|
F9 - cups - windows shared printer
On Mon, 2008-07-21 at 21:12 -0700, Craig White wrote:
> Obviously I try to stay away from editing the cups config files by
> hand
> because they tend to get trampled on by cups configuration tools
> (http://localhost:631) or via system-config-printer (which finally
> seems
> to live in peace alongside cups configuration tools).
>
I generally agree that editing cups config files are not necessary,
except in one case.
I have yet to find out how you can configure a computer to print to
printers distributed by a remote print serve as well as a local printer
without editing its cupsd.conf file. Any suggestions?
--
================================================== =====================
Be free and open and breezy! Enjoy! Things won't get any better so get
used to it.
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
|
|
|
All times are GMT. The time now is 12:51 PM.
VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org
|