Your message dated Sun, 11 Nov 2007 22:56:22 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#251824: samba: Attempts to use CUPS server even with 
"printing = lprng"
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: samba
Version: 3.0.4-5
Severity: minor
Tags: sid

As captioned, I get the following error in log.smbd every time smbd reloads:

[2004/05/30 07:38:10, 0] printing/print_cups.c:cups_printer_fn(108)
  Unable to connect to CUPS server localhost - Connection refused

This happens even though I have "printing = lprng" in [global].

Enclosing my smb.conf for your information:

# testparm -s
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Loaded services file OK.
# Global parameters
[global]
        workgroup = CORPSYS
        server string = Intranet Centre
        security = SHARE
        obey pam restrictions = Yes
        passdb backend = tdbsam, guest
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        lm announce = No
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins server = eth0:10.0.1.254, eth0:10.0.2.254
        panic action = /usr/share/samba/panic-action %d
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        invalid users = root
        printing = lprng
        print command = lpr -r -P'%p' %s
        lpq command = lpq -P'%p'
        lprm command = lprm -P'%p' %j
        lppause command = lpc hold '%p' %j
        lpresume command = lpc release '%p' %j
        queuepause command = lpc stop '%p'
        queueresume command = lpc start '%p'
        include = /etc/samba/dhcp.conf

[printers]
        comment = All Printers
        path = /tmp
        create mask = 0700
        guest only = Yes
        guest ok = Yes
        printable = Yes
        browseable = No

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-a
Locale: LANG=C, LC_CTYPE=C

Versions of packages samba depends on:
ii  debconf [debco 1.4.25                    Debian configuration management sy
ii  libacl1        2.2.23-1                  Access control list shared library
ii  libc6          2.3.2.ds1-13              GNU C Library: Shared libraries an
ii  libcomerr2     1.35-6                    The Common Error Description libra
ii  libcupsys2-gnu 1.1.20final+cvs20040330-4 Common UNIX Printing System(tm) - 
ii  libkrb53       1.3.3-1                   MIT Kerberos runtime libraries
ii  libldap2       2.1.30-1                  OpenLDAP libraries
ii  libpam-modules 0.76-21                   Pluggable Authentication Modules f
ii  libpam-runtime 0.76-21                   Runtime support for the PAM librar
ii  libpam0g       0.76-21                   Pluggable Authentication Modules l
ii  libpopt0       1.7-4                     lib for parsing cmdline parameters
ii  logrotate      3.7-1                     Log rotation utility
ii  netbase        4.17                      Basic TCP/IP networking system
ii  samba-common   3.0.4-5                   Samba common files used by both th

-- debconf information:
  samba/nmbd_from_inetd: 
* samba/run_mode: daemons
  samba/log_files_moved: 
  samba/tdbsam: false
* samba/generate_smbpasswd: true


--- End Message ---
--- Begin Message ---
Version: 3.0.10-1

On Mon, May 31, 2004 at 03:33:47PM +0800, Frank Chung wrote:
> Package: samba
> Version: 3.0.4-5
> Severity: minor
> Tags: sid

> As captioned, I get the following error in log.smbd every time smbd reloads:

> [2004/05/30 07:38:10, 0] printing/print_cups.c:cups_printer_fn(108)
>   Unable to connect to CUPS server localhost - Connection refused

> This happens even though I have "printing = lprng" in [global].

This bug is not present in current versions of the Debian packages.  I
believe that it was fixed in 3.0.10, when a patch was introduced to change
the default printing system from CUPS to lpr at build time; this may mean
that we will need to recheck for this bug soon since it's time now to drop
this patch and make CUPS the default, but at least for the moment this bug
is resolved.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


--- End Message ---

Reply via email to