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> <Location /admin> Satisfy any Order allow,deny Allow @LOCAL Allow (xxx.xxx.xxx.xxx) # your outside IP if you want </Location> <Location /admin/conf> AuthType Default Require user @SYSTEM Order allow,deny Satisfy any Allow @LOCAL Allow (xxx.xxx.xxx.xxx) # your outside IP if you want </Location> <snip> ** RESTART cupsd 'rccups restart' (2) Then on the windows boxes, just use network neighborhood to browse to the printer, rt-click & install, choose the right driver. Also, check your samba config. I've included the relevant print setup from /etc/samba/smb.conf below: 19:09 nirvana:~> noc /etc/samba/smb.conf [global] use sendfile = No <snip> printcap name = cups load printers = yes printing = cups show add printer wizard = no disable spoolss = yes <snip> smb ports = 139 hosts allow = 192.168.6. 127. # subnet + don't forget localhost <snip> name resolve order = wins lmhosts bcast # change as required wins support = yes <snip> [printers] comment = All Printers path = /var/spool/samba # make sure permissions are 0777 browseable = no guest ok = yes public = yes writable = no printable = yes create mode = 0700 use client driver = yes [print$] path = /var/lib/samba/drivers browseable = yes write list = @adm root guest ok = yes inherit permissions = yes HTH! -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org