[cups.general] Cups, Samba and Windows XP

ncc-lists ncc-lists at rentokil.com
Fri Jan 7 07:02:22 PST 2005


Hi
I have a Linux system providing F&P for a network and two printers.  
About 3-4 times a day the print queues stall and must be cleared down 
(in the cups interface) before printing resumes.
Specification:
Linux 2.4.27
Cups 1.1.20
Samba 3.0.7

Clients are Windows XP SP2.

Configurations:
[Samba]
====================

# Global parameters
[global]
	log file = /var/log/samba/%m.log
	load printers = yes
	guest account = nobody
	socket options = TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
	map to guest = Bad User
	encrypt passwords = yes
	printer admin = root
	level2 oplocks = no
	dns proxy = no
	oplocks = no
	keep alive = 30
	netbios name = R034LX01
	server string = Risk Management Server
	printing = cups
	lock spin count = 100
	kernel oplocks = false
	default = homes
	path = /usr/local/var/spool
	unix password sync = Yes
	workgroup = R034
	os level = 20
	lock spin time = 15
	security = user
	max log size = 0
	printcap = cups
	log level = 1

[homes]

	path = /home/users/%S
        writable = yes
        browsable = no
        dont descend = Maildir

[common]

	path = /home/shares/common
 	browseable = yes
  	writeable = yes
  	create mask = 0777
  	directory mask = 0777


[Private]
	force create mode = 770
	writable = yes
	create mode = 000
	path = /home/shares/private
	force directory mode = 02770
	directory mode = 770

[Public]
	force create mode = 775
	writable = yes
	create mode = 000
	browsable = yes
	path = /home/shares/public
	force directory mode = 02775
	directory mode = 775

[printers]
	createmode = 0700
	lpq command = lpstat -o %p
	printable = yes
	print command = lpr -P %p -o raw %s -r
	writeable = yes
	comment = All Printers
	public = yes
	lprm command = cancel %p-%j

[print$]
      comment = Printer Driver Download Area
      path = /home/shares/drivers
      browseable = yes
      guest ok = yes
      read only = yes
      write list = @ntadmin

[allshares]

	browseable = no
	valid users = admminknow
	writeable = yes
	path = /home/shares/allshares

[offscan]
	delete readonly = yes
	writeable = yes
	path = /home/officescan/PCCSRV
	force directory mode = 777
	force create mode = 777
	public = yes
	create mode = 777
	directory mode = 777


Configurations:
[cups]
====================

LogLevel info
Port 631
Browsing Off
SystemGroup root
<Location />
Order Allow,deny
allow From All
deny From none
</Location>
<Location /admin>
Order Allow,deny
allow from all
deny From none
</Location>

Any other info that could be of use to you, just ask.

Regards and TiA
Nigel

_____________________________________________________________________
This message has been checked for all known viruses by 
MessageLabs on behalf of Rentokil Initial plc





More information about the cups mailing list