Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2002 11:03:21 -0500
From:      Vivek Khera <khera@kcilink.com>
To:        questions@freebsd.org
Subject:   samba printing stopped after upgrade to 2.2.6
Message-ID:  <15805.24521.382583.551821@onceler.kciLink.com>

next in thread | raw e-mail | index | archive | help
I upgraded Samba from 2.2.5_3 to 2.2.6 and now printing from Win2k has
stopped working.  Downgrading back to 2.2.5_3 lets printing work
again.  Accessing the disk shares works just fine, still.  Server is
running FreeBSD 4.7-STABLE.

When I start Samba 2.2.6, it reports this:

[2002/10/24 14:22:57, 0] smbd/server.c:main(707)
  smbd version 2.2.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/10/24 14:22:57, 0] printing/print_cups.c:cups_printer_fn(110)
  Unable to connect to CUPS server localhost - Connection refused

but I have not enabled CUPS in samba at all.  Does anyone know what I
need to do to migrate successfully from samba 2.2.5 to 2.2.6?  Here's
my config:

[global]
   security = user
   hosts deny = ALL
   hosts allow = localhost, onceler.kcilink.com, raj.kcilink.com

   preserve case = yes
   short preserve case = yes
   map archive = no
                     
   socket options = SO_KEEPALIVE

   locking = yes
   deadtime = 15

   workgroup = KCI
   server string = Yertle Samba Server
   guest account = nobody
   default service = reference

   domain master = yes
   local master = yes 
   preferred master = yes
   os level = 65

   wins support = yes

   time server = True

   printing = bsd
   load printers = yes
   print command = lpr -v -r -P%p %s

[homes]
   comment = Home Directory
   writable = yes
   browseable = no
   public = no
;   create mode = 0644
   create mask = 0755

[printers]
   comment = HP LJ4 PostScript Printer
   browseable = no
   printable = yes
   public = no
   writable = no
   path = /var/tmp
   create mode = 0600

; the default, if invalid accesses
[reference]
   comment = KCI: Samba LAN manager
   path = /tmp
   public = yes

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15805.24521.382583.551821>