[Samba] Samba, CUPS and Windows Printer Queue

Collins, Kevin KCollins at nesbittengineering.com
Mon Jul 26 12:51:23 GMT 2004


I've had a Samba 3.0.2 Print Server running for nearly 7 months now without
too much of a hitch on RedHat Enterprise "ES" 3.0.  Late last week, RedHat
issued an Errata that moved Samba from the 3.0.2 base to the 3.0.4 base.  So
when I did the "up2date" this weekend as part of my normal maintenance, this
server was updated and everything appeared to be fine.

Things are working, print jobs are getting sent so for the most part I am
happy.  But, I am experiencing one problem.  The Windows printer queue (I
have a mixed set of clients - mostly Windows 2000 and some Windows XP) show
active jobs even *after* the job has completed.

I've checked the CUPS Web-Management console and there are no active jobs.
Yet on my Windows machine, I have 4 printers that show to have a total of 47
print jobs in the queue.

Here is a snippet of the Print Server's smb.conf:
=================================================
[global]
# Server Name and description
   workgroup = nesbitt.local
   netbios name = valykyrie
   server string = Samba 3 Print and Backup Server

# Samba log information
   log file = /var/log/samba/%m.log
   max log size = 7168

# Security information
   security = user
   encrypt passwords = yes

# To help performance
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Settings for PDC setup
   local master = no
   os level = 0
   domain master = no
   preferred master = no
   domain logons = no

# Activate these Network Services
   wins server = 10.200.8.253

# LDAP Declarations -- Needed to allow the LDAP backend to work
   ldap suffix = dc=nesbitt,dc=local
   ldap admin dn = cn=Manager,dc=nesbitt,dc=local
   passdb backend = ldapsam:ldap://stargazer.nesbitt.local
   ldap delete dn = no
   ldap user suffix = ou=People
   ldap group suffix = ou=Groups
   ldap machine suffix = ou=Computers
   ldap filter = (&(uid=%u)(objectClass=sambaSamAccount))
   ldap passwd sync = yes

# Global settings for printers
   printing = cups
   printcap name = cups
   load printers = yes
   use client driver = yes

# Oplocks settings - disable all oplocks for compatibility reasons
   oplocks = no
   level2 oplocks = no
   kernel oplocks = no

[printers]
   comment = All Printers
   path = /var/spool/samba
   public = yes
   guest ok = yes
   writeable = no
   printable = yes
=================================================

Has anyone experienced this?  What other information is needed to help
diagnose this issue?

Any help would be welcomed...
--
Kevin L. Collins, MCSE
Systems Manager
Nesbitt Engineering, Inc. 


More information about the samba mailing list