On 10/22/2010 05:16 PM, Bob Williams wrote:
On Tuesday 19 Oct 2010 15:53:45 ka1ifq wrote:
Thanks for the info, I'll revisit this in a couple days and have another shot at it.
Thanks, Mike.
Can you tell us how you got on? I'm struggling with same problem here :(
Bob
It's a two part setup: (1) configure cups on the server, (2) configure the
windows client. I haven't had much luck letting yast do it, so I just edit
cupsd.conf by hand. I have added quotes on the right as further explanation.
Before you edit your cupsd.conf, 'cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.orig'
For cups on the server, something similar to the following in /etc/cupsd.conf
works fine:
ServerName nirvana.3111skyline.com # fully qualified host.domain
ServerAdmin admin@nirvana.3111skyline.com # the admin at that host.domain
ServerAlias nirvana # hostname
ServerAlias www.3111skyline.com # any cname alias
ServerAlias localhost # always include localhost
Port 631 # default port (but hard code it)
LogLevel warn
HostNameLookups Off
Timeout 180
PreserveJobFiles Yes
PreserveJobHistory Yes
DefaultPaperSize Letter
SystemGroup sys root wheel # groups with access
# hardcode all at 631
# cups will grab 443 if loaded
# before httpd
Listen localhost:631
Listen nirvana.3111skyline.com:631 # no I don't leave the port open :p
Listen nirvana:631
Listen www.3111skyline.com:631
Listen 192.168.6.17:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
Satisfy any
Order allow,deny
Allow @LOCAL # your local subnet
Allow (xxx.xxx.xxx.xxx) # your outside IP if you want
</Location>