Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Any CUPS hackers out there?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
POLAX
n00b
n00b


Joined: 11 Dec 2003
Posts: 40
Location: Edmonton, AB - Canada

PostPosted: Mon Dec 29, 2003 3:34 pm    Post subject: Any CUPS hackers out there? Reply with quote

I decided to try configuring CUPS by hand, as I always like to do because GUI tools are a no-brainer, but when they break...

Anyways I cannot connect via web browser to my local CUPS server (not even the docs/admin pages). Can someone tell me what's wrong :?: Here is my cupsd.conf:

Code:

DocumentRoot /usr/share/cups/docs
LogLevel info
MaxLogSize 8388608
PageLog syslog
AutoPurgeJobs Yes
MaxCopies 25
MaxJobs 300
MaxJobsPerPrinter 30
MaxJobsPerUser 30
MaxPrinterHistory 9
Printcap /etc/printcap
RemoteRoot print
User lp
Group lp
RIPCache 16m
Port 631
Listen localhost:80
Port 443
HostNameLookups On
KeepAlive On
KeepAliveTimeout 150
MaxClients 255
MaxClientsPerHost 100
Timeout 600
BrowseProtocols cups
BrowseAddress @LOCAL
BrowseShortNames No
BrowseAllow @LOCAL
BrowseInterval 60
BrowseOrder allow,deny
ImplicitClasses On
ImplicitAnyCLasses On
HideImplicitMembers On
SystemGroup root
RootCertDuration 900
AuthGroupName print
<Location />
Order Allow,Deny
Allow From All
Allow From 127.0.0.1
Allow From localhost
Allow From @LOCAL
Deny From All
</Location>
<Location /classes/HPLJ6L>
Order Allow,Deny
Allow From All
Allow From 127.0.0.1
Allow From localhost
Allow From @LOCAL
</Location>
<Location /admin>
Order Allow,Deny
Allow From 127.0.0.1
Allow From localhost
Allow From @LOCAL
Deny From All
</Location>


Last edited by POLAX on Mon Dec 29, 2003 6:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Mon Dec 29, 2003 3:39 pm    Post subject: Reply with quote

Hi!

You need to add some Allow From for your local network
Otherwise you're only able to connect to the GUI from the box itself

HTH
T.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
POLAX
n00b
n00b


Joined: 11 Dec 2003
Posts: 40
Location: Edmonton, AB - Canada

PostPosted: Mon Dec 29, 2003 11:57 pm    Post subject: Have to get past another hump first... Reply with quote

It doesn't even let me connect locally, :(
and yes I've started cupsd.
Back to top
View user's profile Send private message
POLAX
n00b
n00b


Joined: 11 Dec 2003
Posts: 40
Location: Edmonton, AB - Canada

PostPosted: Tue Dec 30, 2003 12:55 pm    Post subject: Got most of it figured out Reply with quote

Well I've got most of it figured out except I can't get it to use SSL properly. 8)

How do I generate a server.key file :?:

When I connect using https with mozilla I get an error saying that they have no common encryption algorithms :!:
Back to top
View user's profile Send private message
POLAX
n00b
n00b


Joined: 11 Dec 2003
Posts: 40
Location: Edmonton, AB - Canada

PostPosted: Wed Dec 31, 2003 6:13 pm    Post subject: Got It! Reply with quote

The secret was in using openssl to create a server key + certificate :idea:

(Of course all this can be found in /usr/share/doc/cups-1.1.20/ENCRYPTION.txt.gz) :!: :!:

JOY :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum