Re: F9 - cups - windows shared printer

2008-07-28 Thread Tim Waugh
On Tue, 2008-07-22 at 09:39 -0500, Aaron Konstam wrote:
 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?

Use CUPS browsing (Aaron, I'm sure we've been over this before).

CUPS browsing is enabled by default.  All you have to do in Fedora 9 is
start system-config-firewall and select the 'Network Printing Client
(IPP)' check-box, and wait.

The remote CUPS server (on the same subnet) will broadcast UDP packets
describing its queues, and the local CUPS server will automatically make
those queues available to you.

If your remote CUPS server is on a different subnet then you need to
make arrangements to either:

* have those UDP packets forwarded by the network bridge ('directed
broadcast')

or 

* tell the local CUPS server the IP address of the remote CUPS server
using 'BrowsePoll' in the cupsd.conf file

Tim.
*/



signature.asc
Description: This is a digitally signed message part
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: F9 - cups - windows shared printer

2008-07-28 Thread Tim Waugh
On Thu, 2008-07-24 at 15:58 -0700, Craig White wrote:
 We'll get to the bottom of it - and I'm pretty patient and suspect that
 Tim will sound off in a few days.

:-)

This is a samba bug, introduced by the upstream CUPS maintainer when he
added proxy authentication support to smbspool:

https://bugzilla.redhat.com/show_bug.cgi?id=453951

Tim.
*/



signature.asc
Description: This is a digitally signed message part
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: F9 - cups - windows shared printer

2008-07-28 Thread Craig White
On Mon, 2008-07-28 at 13:58 +0100, Tim Waugh wrote:
 On Thu, 2008-07-24 at 15:58 -0700, Craig White wrote:
  We'll get to the bottom of it - and I'm pretty patient and suspect that
  Tim will sound off in a few days.
 
 :-)
 
 This is a samba bug, introduced by the upstream CUPS maintainer when he
 added proxy authentication support to smbspool:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=453951
 

OK - so next time, instead of removing 'AuthInfoRequired negotiate' I
would be better off changing it to 'AuthInfoRequired none' - got it.

I suppose you can label my bugzilla as a duplicate of the above...
https://bugzilla.redhat.com/show_bug.cgi?id=456555

Thanks...hope you enjoyed your time off

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-28 Thread Tim Waugh
On Mon, 2008-07-28 at 06:22 -0700, Craig White wrote:
 OK - so next time, instead of removing 'AuthInfoRequired negotiate' I
 would be better off changing it to 'AuthInfoRequired none' - got it.

No, I don't think that will have any effect; the smb backend will still
reset it to 'negotiate'.  The bug needs to be fixed in the samba
package.

What is the CUPS device URI of the printer you are seeing this problem
with?

Tim.
*/



signature.asc
Description: This is a digitally signed message part
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: F9 - cups - windows shared printer

2008-07-28 Thread Craig White
On Mon, 2008-07-28 at 14:35 +0100, Tim Waugh wrote:
 On Mon, 2008-07-28 at 06:22 -0700, Craig White wrote:
  OK - so next time, instead of removing 'AuthInfoRequired negotiate' I
  would be better off changing it to 'AuthInfoRequired none' - got it.
 
 No, I don't think that will have any effect; the smb backend will still
 reset it to 'negotiate'.  The bug needs to be fixed in the samba
 package.
 
 What is the CUPS device URI of the printer you are seeing this problem
 with?

DeviceURI smb://craig:[EMAIL PROTECTED]/WIN-WORKSTATION/officejet

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-27 Thread g


Craig White wrote:
snip

if you go back to my original post - nowhere did I ever make mention of
Firefox, nor did Andy who confirmed the problem.


well, in your own words 'leap to conclusions do we?', seems to include
you in that 'we'. i do not find that i made reference to which post.

therefore, for me to include firefox, it would have been from a later
post that you made and in which you failed to mention evolution.

if version of firefox that i am currently using;
  Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1)
  Gecko/2008071611 Red Hat/3.0.1-1.el5 Firefox/3.0.1
had time stamps in history log, i would be able to give you an exact
time that you could relate to your presumption.

tho i will admit that while looking back thru history, i did miss one of
the hits related to suse. so i did err in not noting it. or what ever
was page relating to it, did not seem relevant. maybe it mentioned
evolution and was there before i put firefox in search.

as for ubuntu, i can not say. for sure if it was among hits, i did not
look at it.


I only brought Firefox into the picture because the problem returned


actually, it was brought on by your evasiveness in not mentioning what
all you had tried to print with.


but if you were going to google anything, why not google the relevant
keywords...


googleing for;

cups AuthInfoRequired negotiate


} From: Andy Eager eageraj at tpg.com.au
} Subject: F9 - cups - windows shared printer
} Newsgroups: gmane.linux.redhat.fedora.general
} Date: 2008-07-24 12:14:43 GMT (1 day, 10 hours and 58 minutes ago)

which was in this thread.


http://forums.fedoraforum.org/showpost.php?p=1028522postcount=1


reveals it did not happen with ubuntu client and fedora server, but did
with fedora client and fedora server.


http://ubuntuforums.org/showthread.php?p=5449368


which, all in all, does cause me to believe as i have all along, that it
is related to cups and how it is handling authorization and a reason of
why i suggested adding 'user' to 'lp' group. which may have been a
temporary 'cure', 'hack', 'solution' or what ever one cares to call it.
what ever it is called, if it worked, it would be a way to get printing
done until source is debugged and corrected. along with, possiply, another
pointer to where problem is in source.


--

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


Re: F9 - cups - windows shared printer

2008-07-26 Thread Craig White
On Sat, 2008-07-26 at 19:08 +1000, Andy Eager wrote:
 OK, for anyone interested (and as a way of documenting the problem), I 
 finally got to the bottom of this issue.
 It has absolutely nothing to do with users, groups, cups authentication, 
 Firefox or much else discussed in this thread!!
 
 I was using ipp as the printing protocol to talk to the printer:- A 
 Konica-Minolta MC2450.
 ipp://printer_hostname:631/ipp
 
 Not sure whether the problem is with CUPS implementation of ipp or the 
 printer itself, but if I change to JetDirect 
 (socket://printer_hostname), then everything works just fine.
 
 Now for the gory details:
 
 * printers.conf is setup initially without the AuthInfoRequired line 
 (which is the same AuthInfoRequired none)
 * When I try to print I get the following:
E [25/Jul/2008:17:20:53 +1000] [Job 1] Unable to get job 1997 
 attributes (client-error-not-authorized)!
I [25/Jul/2008:17:20:53 +1000] Saving printers.conf...
E [25/Jul/2008:17:20:53 +1000] PID 5314 (/usr/lib/cups/backend/ipp) 
 stopped with status 2!
D [25/Jul/2008:17:20:53 +1000] [Job 1] File 0 is complete.
I [25/Jul/2008:17:20:53 +1000] [Job 1] Backend returned status 2 
 (authentication required)
 * When cupsd saves printers.conf, it decides (incorrectly) that 
 authentication is required and inserts the AuthInfoRequired negotiate 
 line into printers.conf
 
 For any cups developers reading this, here's the code that does this 
 from job.c: (which I believe is semantically incorrect)
 if ((attr = cupsGetOption(auth-info-required, num_attrs,  attrs)) != NULL)
   {
  cupsdLogMessage(CUPSD_LOG_ERROR, WOULD BE SETTING attribute 
 %s, attr);
  // cupsdSetAuthInfoRequired(job-printer, attr, NULL);
 cupsdSetPrinterAttrs(job-printer);
 cupsdSaveAllPrinters();
   }
 The first line is me wanting to see this event in the log file
 The second line is me commenting out the change to AuthInfoRequired.
 
 When I run this modified version of cups, I still see same output in the 
 log file, but the job does print (as do any subsequent jobs) and there 
 is no change made to printers.conf.
 
 Anyway, that's the full story.
 I now know the anatomy of cups way more than I ever wanted to!

did you want to add that to the bugzilla entry I started or should I
reference?

also, for the record, I never set up the printer as ipp but only as a
connection to windows shared printer (smb://) but perhaps the code is
similar there

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-25 Thread Aaron Konstam
On Thu, 2008-07-24 at 20:51 +, g wrote:
 Craig White wrote:
 snip
  came back when I tried to print from Firefox...
 
 so maybe you *and* firefox need to be in 'lp' group. gbwg
 
 
 -- 
 
 tc,hago.
 
The group of the user and firefox is irrelevant.
 
--
===
I can live without Someone I love But not without Someone I need. --
Safety
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-25 Thread Aaron Konstam
On Thu, 2008-07-24 at 15:58 -0700, Craig White wrote:
 On Thu, 2008-07-24 at 22:52 +, g wrote:
  Craig White wrote:
  snip
  
  
On Thu, 2008-07-24 at 21:21 +, g wrote:
   Craig White wrote:
   snip
   I hope that you won't mind that I will continue to ignore your
   suggestions thinking that they are not useful and even if they worked,
   that isn't the intended behavior and thus no solution at all.
   not at all. what ever churns your butter.
  
   if such an easy change is too much for you, then do not. after all it
   is your system to fight with.
  
   as for me, i did spend a couple minutes to make change, as i found thru
   google, and it did work. granted, it may something different in your
   system.
  
   i do know/recall that i did have to add myself to 'lp' group, under
   mandrake 9 and 10, when i could not print as a 'user', but could as
   'root'.
   
  
   I would rather remove the line once in a while than start mucking with
   system groups but more to the point and the one you seem to be missing
   is that the bandaid approach you suggest helps no one else. I'm far more
   interested in a real solution to the problem because others are sure to
   experience this issue.
  
  i am in full understanding of your reasoning and desire to find *where*
  failure is coming from.
  
  with no more response than you have of one other poster so far, would
  this not tend to show that it would be something you 2 have in common
  in configuring your system? granted, it is something that should not
  happen. but it is.
  
  therefore i would think that you and andy need to see what you have in
  common in setups, permissions, and paths, etc.
  
  also, a request for others who are using cups, if they would check
  cupsd.conf and printers.conf files to see if authentication line
  is present.
  
  then, if you have a large response of line present, you have narrowed
  you search to other than just cups.
  
  just a suggestion. use it or not.
 
 Not a chance...
 
 because I reverted to distribution version of cupsd.conf and have only 2
 printers configured and the configuration is fairly basic.
 
 I put in a bugzilla report.
 
 I know that Tim Waugh usually monitors this list but guess he must be on
 a summer vacation because he is the master of all things printers on
 RH/Fedora.
 
 We'll get to the bottom of it - and I'm pretty patient and suspect that
 Tim will sound off in a few days.
 
 Craig
Tim may be an expert but for instructions in configuring cupsd.cong the
documentation you can access through the cups web page (localhost:631)
is really very good and definitive. I would try that if I were you.
--
===
People humiliating a salami!
===
Aaron Konstam telephone: (210) 656-0355 e-mail: [EMAIL PROTECTED]

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-25 Thread Mikkel L. Ellertson

Tim wrote:

On Thu, 2008-07-24 at 19:01 -0700, Craig White wrote:

It's no different than adding myself to lp group. While that might
allow me to print, it doesn't really solve the problem and I can get
it to print anyway.


It does raise the point that some definition of what some system groups
are meant to be for.  When you see groups like lp or disk are you
supposed to add yourself to them for special privileges, or are they
just for the system software to use for itself.

I always thought they were there to let you customize access for 
users, as well as for system software. There are other ways to 
control user access now, but they were the original way to do it.


With the helper programs we have today, there is less need for 
adding users to the system groups.


Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Re: F9 - cups - windows shared printer

2008-07-25 Thread g

Aaron Konstam wrote:
snip

The group of the user and firefox is irrelevant.


anyway, i added 'gbwg' only because i had added 'firefox'.

maybe in case of 'lp' at this time. yet back when i set up cups in
mandrake 8 and 9, it was necessary. it was also necessary that i was
in 'sane' and 'xsane' group.

for sure, there are other groups that do require a user to be added
to various groups.

another 2 points that make whole thing interesting is that so far,
craig has found problem only with firefox and problem only seems to
be related to cups that is set up to share with ms windows.

second, that this problem has not shown up with any other distribs.


--

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


Re: F9 - cups - windows shared printer

2008-07-25 Thread Craig White
On Fri, 2008-07-25 at 18:14 +, g wrote:
 Aaron Konstam wrote:
 snip
  The group of the user and firefox is irrelevant.
 
 anyway, i added 'gbwg' only because i had added 'firefox'.
 
 maybe in case of 'lp' at this time. yet back when i set up cups in
 mandrake 8 and 9, it was necessary. it was also necessary that i was
 in 'sane' and 'xsane' group.
 
 for sure, there are other groups that do require a user to be added
 to various groups.
 
 another 2 points that make whole thing interesting is that so far,
 craig has found problem only with firefox and problem only seems to
 be related to cups that is set up to share with ms windows.
 
 second, that this problem has not shown up with any other distribs.

leap to conclusions do we?

1 - it's not only with Firefox...problem originally surfaced printing
e-mail from evolution. It appears that if a program initially queries
for a need to authenticate, that's when the problem occurs.

2 - why on earth would you think that this problem doesn't show up on
other distributions...I think quite the contrary, as this problem seemed
to be originally reported in Debian.

3 - as a network system administrator, ugly hack solutions like adding a
user to a local group is a very lame solution when users are on LDAP and
not local and there are limitations on group memberships, etc. This
shouldn't be needed for a basic setup and a local user and I am looking
at the bigger picture.

as for the user/group of firefox, yes it was irrelevant and was one of
the obscure attempts at being funny which not surprisingly Aaron missed
- as I said earlier in the thread, geleem seems to make comments that
are too obtuse for many readers on this list.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-25 Thread g

Craig White wrote:
snip

leap to conclusions do we?


only when information is left out.


1 - it's not only with Firefox...problem originally surfaced printing


you were not elicit of evolution.


2 - why on earth would you think that this problem doesn't show up on


in my curiousness of problem i used *AND firefox*. search did not show
debian. being on mandrake lists, i have not seen problem posted.


--

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


Re: F9 - cups - windows shared printer

2008-07-25 Thread Craig White
On Fri, 2008-07-25 at 18:56 +, g wrote:
 Craig White wrote:
 snip
  leap to conclusions do we?
 
 only when information is left out.
 
  1 - it's not only with Firefox...problem originally surfaced printing
 
 you were not elicit of evolution.
 
  2 - why on earth would you think that this problem doesn't show up on
 
 in my curiousness of problem i used *AND firefox*. search did not show
 debian. being on mandrake lists, i have not seen problem posted.

if you go back to my original post - nowhere did I ever make mention of
Firefox, nor did Andy who confirmed the problem.

I only brought Firefox into the picture because the problem returned
when I tried to print with Firefox for the first time. The specific
applications itself are not truly meaningful to the problem...they never
were. You decided to seize on the things you thought might be
significant but they weren't.

but if you were going to google anything, why not google the relevant
keywords...

cups AuthInfoRequired negotiate

http://forums.fedoraforum.org/showpost.php?p=1028522postcount=1

but it wasn't Debian (my mistake), it was Ubuntu...

http://ubuntuforums.org/showthread.php?p=5449368

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-24 Thread Craig White
On Thu, 2008-07-24 at 13:21 +, g wrote:
 Andy Eager wrote:
 snip
  I have no idea how this crap got into cups or even why authentication
  should be necessary to print locally.
  Anyway, it has nothing to do with the security deny/allow stuff in
  cupsd.conf
 
 this got me wondering.
 
 craig,
 
 have you give thought to *group*?
 
 because problem is with *authentication*, are you
 'authenticated' if you add your user name to 'cups group'?
 
 ria, under md 9 or 10, i had problems in printing as a 'user'
 and i believe that doing so enable me to print.
 
 i do recall that i still had to enter 'root' password to make
 any changes to configs.

The problem isn't with authentication, the problem is that somehow the
printer configuration inherited an authentication requirement when there
was no desire or action for it to do so.

Mucking in groups to solve this issue doesn't make much sense.

As for Andy...I have not seen it reappear by itself even after printing
but I don't print all that much. Thus I don't see much need in patching
source and recompiling (seems to be overkill).

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-24 Thread g

Craig White wrote:
snip

came back when I tried to print from Firefox...


so maybe you *and* firefox need to be in 'lp' group. gbwg


--

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


Re: F9 - cups - windows shared printer

2008-07-24 Thread g

Craig White wrote:
snip

I hope that you won't mind that I will continue to ignore your
suggestions thinking that they are not useful and even if they worked,
that isn't the intended behavior and thus no solution at all.


not at all. what ever churns your butter.

if such an easy change is too much for you, then do not. after all it
is your system to fight with.

as for me, i did spend a couple minutes to make change, as i found thru
google, and it did work. granted, it may something different in your
system.

i do know/recall that i did have to add myself to 'lp' group, under
mandrake 9 and 10, when i could not print as a 'user', but could as
'root'.

also, i was joking about adding firefox to 'lp' group.

much luck.


--

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


Re: F9 - cups - windows shared printer

2008-07-24 Thread Craig White
On Thu, 2008-07-24 at 21:21 +, g wrote:
 Craig White wrote:
 snip
  I hope that you won't mind that I will continue to ignore your
  suggestions thinking that they are not useful and even if they worked,
  that isn't the intended behavior and thus no solution at all.
 
 not at all. what ever churns your butter.
 
 if such an easy change is too much for you, then do not. after all it
 is your system to fight with.
 
 as for me, i did spend a couple minutes to make change, as i found thru
 google, and it did work. granted, it may something different in your
 system.
 
 i do know/recall that i did have to add myself to 'lp' group, under
 mandrake 9 and 10, when i could not print as a 'user', but could as
 'root'.

I would rather remove the line once in a while than start mucking with
system groups but more to the point and the one you seem to be missing
is that the bandaid approach you suggest helps no one else. I'm far more
interested in a real solution to the problem because others are sure to
experience this issue.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-24 Thread g

Craig White wrote:
snip


 On Thu, 2008-07-24 at 21:21 +, g wrote:

Craig White wrote:
snip

I hope that you won't mind that I will continue to ignore your
suggestions thinking that they are not useful and even if they worked,
that isn't the intended behavior and thus no solution at all.

not at all. what ever churns your butter.

if such an easy change is too much for you, then do not. after all it
is your system to fight with.

as for me, i did spend a couple minutes to make change, as i found thru
google, and it did work. granted, it may something different in your
system.

i do know/recall that i did have to add myself to 'lp' group, under
mandrake 9 and 10, when i could not print as a 'user', but could as
'root'.





I would rather remove the line once in a while than start mucking with
system groups but more to the point and the one you seem to be missing
is that the bandaid approach you suggest helps no one else. I'm far more
interested in a real solution to the problem because others are sure to
experience this issue.


i am in full understanding of your reasoning and desire to find *where*
failure is coming from.

with no more response than you have of one other poster so far, would
this not tend to show that it would be something you 2 have in common
in configuring your system? granted, it is something that should not
happen. but it is.

therefore i would think that you and andy need to see what you have in
common in setups, permissions, and paths, etc.

also, a request for others who are using cups, if they would check
cupsd.conf and printers.conf files to see if authentication line
is present.

then, if you have a large response of line present, you have narrowed
you search to other than just cups.

just a suggestion. use it or not.


--

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


Re: F9 - cups - windows shared printer

2008-07-24 Thread Craig White
On Thu, 2008-07-24 at 22:52 +, g wrote:
 Craig White wrote:
 snip
 
 
   On Thu, 2008-07-24 at 21:21 +, g wrote:
  Craig White wrote:
  snip
  I hope that you won't mind that I will continue to ignore your
  suggestions thinking that they are not useful and even if they worked,
  that isn't the intended behavior and thus no solution at all.
  not at all. what ever churns your butter.
 
  if such an easy change is too much for you, then do not. after all it
  is your system to fight with.
 
  as for me, i did spend a couple minutes to make change, as i found thru
  google, and it did work. granted, it may something different in your
  system.
 
  i do know/recall that i did have to add myself to 'lp' group, under
  mandrake 9 and 10, when i could not print as a 'user', but could as
  'root'.
  
 
  I would rather remove the line once in a while than start mucking with
  system groups but more to the point and the one you seem to be missing
  is that the bandaid approach you suggest helps no one else. I'm far more
  interested in a real solution to the problem because others are sure to
  experience this issue.
 
 i am in full understanding of your reasoning and desire to find *where*
 failure is coming from.
 
 with no more response than you have of one other poster so far, would
 this not tend to show that it would be something you 2 have in common
 in configuring your system? granted, it is something that should not
 happen. but it is.
 
 therefore i would think that you and andy need to see what you have in
 common in setups, permissions, and paths, etc.
 
 also, a request for others who are using cups, if they would check
 cupsd.conf and printers.conf files to see if authentication line
 is present.
 
 then, if you have a large response of line present, you have narrowed
 you search to other than just cups.
 
 just a suggestion. use it or not.

Not a chance...

because I reverted to distribution version of cupsd.conf and have only 2
printers configured and the configuration is fairly basic.

I put in a bugzilla report.

I know that Tim Waugh usually monitors this list but guess he must be on
a summer vacation because he is the master of all things printers on
RH/Fedora.

We'll get to the bottom of it - and I'm pretty patient and suspect that
Tim will sound off in a few days.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-24 Thread g

Craig White wrote:
snip

We'll get to the bottom of it - and I'm pretty patient and suspect that
Tim will sound off in a few days.


in all sincerity, i do wish you much luck.

this weekend i hope to get f9 respin burned and installed. i will be
setting up cups with 3 printers and do look forward to see what happens.

being that i will use mozilla firefox/thunderbird, i will try printing
with them. i know, you did not mention tbird.

are there any other programs that you have found this problem with?

my main usage will be with gnucash, several cad programs along with
gimp, maybe xsane.


--

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


Re: F9 - cups - windows shared printer

2008-07-24 Thread Aldo Foot
 also, a request for others who are using cups, if they would check
 cupsd.conf and printers.conf files to see if authentication line
 is present.

I use CUPs (F8). No AuthInfoRequired line present.

~af

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-24 Thread Craig White
On Thu, 2008-07-24 at 17:19 -0700, Aldo Foot wrote:
  also, a request for others who are using cups, if they would check
  cupsd.conf and printers.conf files to see if authentication line
  is present.
 
 I use CUPs (F8). No AuthInfoRequired line present.

of course not because if it was there, you would be complaining.

people should ignore geleem's request - he's not having a problem anyway
and isn't helping with a solution.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-24 Thread Aldo Foot
On Thu, Jul 24, 2008 at 5:35 PM, Craig White [EMAIL PROTECTED] wrote:
 On Thu, 2008-07-24 at 17:19 -0700, Aldo Foot wrote:
  also, a request for others who are using cups, if they would check
  cupsd.conf and printers.conf files to see if authentication line
  is present.

 I use CUPs (F8). No AuthInfoRequired line present.
 
 of course not because if it was there, you would be complaining.

You're probably right. However, I am intrigued as to how that line got
to where it is.

 people should ignore geleem's request - he's not having a problem anyway
 and isn't helping with a solution.

He's just stirring things up to start another 100-message thread, eh?  ;-)

 Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-24 Thread g

Craig White wrote:
snip

of course not because if it was there, you would be complaining.


yet for some reason, he is on who is not having a problem.

why? i do not know. do you?


people should ignore geleem's request


what is wrong with a survey?

even if you do not care to hear of others good fortune, i do.

any way, others are welcome to reply to me. heck, i will even start
a new thread if that will appease you.


- he's not having a problem anyway  and isn't helping with a solution.


not yet. as i do not have cups set up in f8. now that f9 respin is
out, and i get it installed, i will set up cups.

i may not have any problem. then again, i might. it really depends
on how i have it set up and configured.

how can i help with a solution if i do not have a problem to deal
with? that is other than a survey to find out.

if a 1000 reply with out problems and 4 or 5 reply with a problem,
then that would indicate to me that there is a problem, but it is
one that is unique.

in as much, if i am of the 4 or 5 with a problem, then i would like
to know even more where i messed up and correct it.

as i have stated in other post, i am an 'old head' and at same time
i am a 'newbie'. life would become dull if i were to ever think of
myself as an all knowing expert.

i do hope that when i stop learning it will be when i die.

one thing i have learned thru my years playing with computers, they
can mess up, so can i. many time when a computer messes up, it is
because i have either not understood what they were capable of doing,
or because i have programed them incorrectly, or there has been a
hardware failure.

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


Re: F9 - cups - windows shared printer

2008-07-24 Thread g

Aldo Foot wrote:
snip

He's just stirring things up to start another 100-message thread, eh?  ;-)


not even. just trying to learn and understand.


--

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


Re: F9 - cups - windows shared printer

2008-07-24 Thread Craig White
On Fri, 2008-07-25 at 01:24 +, g wrote:
 Craig White wrote:
 snip
  of course not because if it was there, you would be complaining.
 
 yet for some reason, he is on who is not having a problem.
 
 why? i do not know. do you?
 
  people should ignore geleem's request
 
 what is wrong with a survey?
 

because it makes no sense to pollute a thread with what we already
know...that most people aren't having this problem.

It's no different than adding myself to lp group. While that might allow
me to print, it doesn't really solve the problem and I can get it to
print anyway.

I understand that your intentions are good but you want to inject
yourself in something that doesn't involve you and offer a hack solution
that ultimately leads to nowhere.

Craig

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Re: F9 - cups - windows shared printer

2008-07-22 Thread Timothy Murphy
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


Re: F9 - cups - windows shared printer

2008-07-22 Thread Craig White
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


Re: F9 - cups - windows shared printer

2008-07-21 Thread Craig White
On Sun, 2008-07-20 at 18:07 +, 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


Re: F9 - cups - windows shared printer

2008-07-21 Thread g

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


Re: F9 - cups - windows shared printer

2008-07-20 Thread g

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


Re: F9 - cups - windows shared printer

2008-07-20 Thread g

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


Re: F9 - cups - windows shared printer

2008-07-20 Thread Craig White
On Sun, 2008-07-20 at 13:50 +, 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


Re: F9 - cups - windows shared printer

2008-07-20 Thread g

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