[Samba] Samba + cups not working (intermittently)

Robert S robert_s at emailme.net.au
Wed Nov 10 06:36:52 GMT 2004


I initially thought this was a cups problem, but looks like samba now . . .

I have been using a Brother MFC9880 printer with Samba.  Everything has been
fine for the last month, until things stopped working recently (on a Monday
morning with no intervention over the weekend.  Samba log is below:

My system:
Debian woody
Samba-2.2.3a-14.1
cupsys-1.1.14-5woody1

MFC9880 connected to server by USB.

This has intermittently happened in the past and can sometimes be fixed by
restarting samba/cups, but I can't affort outages in a busy office!!

BTW - printing using cups by http (http://debian:631/printers/mfc9880) from
windows client works fine - so I think the problem is with samba.

Can anybody help??

My smb.conf:

[global]
        workgroup = WORKGROUP
        server string = %h server (Samba %v)
        encrypt passwords = true
        obey pam restrictions = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spas
sword:* %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
        dns proxy = No
        invalid users = root
        printing = cups
        printcap name = cups

[homes]
        comment = Home Directories
        read only = No
        create mask = 0700
        directory mask = 0700
        browseable = No

[printers]
        comment = All Printers
        path = /tmp
        printable = Yes
        browseable = Yes
        guest only = yes
        use client driver = yes
        guest account = smbprint

[public]
        path = /home/apache/files
        force user = www-data
        force group = www-data
        read only = No
        create mask = 0640
        guest ok = Yes

The errors in smb.conf:

[2004/11/10 13:46:57, 0] printing/print_cups.c:cups_printername_ok(291)
  Unable to get printer status for mfc9880,winspool,ne04: -
client-error-not-found
[2004/11/10 13:46:57, 0] smbd/service.c:make_connection(249)
  robert (192.168.0.7) couldn't find service mfc9880,winspool,ne04:






More information about the samba mailing list