F9 - cups - windows shared printer

g geleem at bellsouth.net
Sun Jul 20 13:50:56 UTC 2008


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.




More information about the fedora-list mailing list