[Techtalk] Configuring local CUPS printer on Slackware
Conor Daly
conor.daly at oceanfree.net
Sun Jun 8 13:20:56 EST 2003
On Sat, Jun 07, 2003 at 08:56:13PM -0400 or so it is rumoured hereabouts,
Subba Rao thought:
>
> Hello
>
> I have a HP Deskjet printer connected to my Slackware 9 system. At bootup
> the cupsd server is started up. In the cupsd.conf I have the following
> items defined:
>
> ServerName myhost.xyz.com
> ServerAdmin admin at myhost.xyz.com
>
> Apart from this I haven't changed anything else. I have restarted the cupsd
> server.
>
> Using the Browser on port 631, I have add a printer and then a class. When I
> try to print a test page I get this following error message:
>
> ---------------
> Forbidden
> You don't have permission to access the resource on this server.
> ---------------
>
> The cupsd server does prompt me for userid/password for which I use the root
> and root password.
>
> Why am I getting this error? Do I need to creat class first then printer or
> vice versa? Does that sequence really matter?
Can you post the result of:
grep -v ^# /etc/cups/cupsd.conf | grep -v ^$
Mine looks like:
LogLevel info
Port 631
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.*
Allow From 192.168.50.*
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.*
</Location>
Conor
--
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
1:20pm up 24 days, 15:48, 0 users, load average: 0.00, 0.00, 0.00
Hobbiton.cod.ie
1:19pm up 24 days, 15:47, 1 user, load average: 0.09, 0.09, 0.03
More information about the Techtalk
mailing list